Skip to content

Commit

Permalink
Holman WX8: mirror bits in dp 120
Browse files Browse the repository at this point in the history
Bits were defined as left to right in order as the bits are written,
rather than LSB to MSB that is more conventional.  Some evidence shows
that LSB to MSB is more correct, though there are still some irregularities.

Comments on PR #1566
  • Loading branch information
make-all committed Feb 17, 2024
1 parent af492ed commit 6783a94
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 128
- dps_val: 1
value: true
- value: false
- entity: binary_sensor
Expand All @@ -150,7 +150,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 64
- dps_val: 2
value: true
- value: false
- entity: binary_sensor
Expand All @@ -160,7 +160,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 32
- dps_val: 4
value: true
- value: false
- entity: binary_sensor
Expand All @@ -171,7 +171,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 16
- dps_val: 8
value: true
- value: false
- entity: binary_sensor
Expand All @@ -183,7 +183,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 4
- dps_val: 32
value: true
- value: false
- entity: binary_sensor
Expand All @@ -195,7 +195,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 2
- dps_val: 64
value: true
- value: false
- entity: binary_sensor
Expand All @@ -206,7 +206,7 @@ secondary_entities:
name: sensor
type: bitfield
mapping:
- dps_val: 1
- dps_val: 128
value: true
- value: false
- entity: sensor
Expand Down

0 comments on commit 6783a94

Please sign in to comment.