Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
iMicknl committed Jun 4, 2020
1 parent 487050f commit 1aac669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If your device is not supported, it will show the following message in the loggi
| GarageDoor | cover |
| ContactSensor | binary_sensor |
| SmokeSensor | binary_sensor |
| MotionSensor | binary_sensor |
| OccupancySensor | binary_sensor |
| Light | light |
| Awning | cover |

Expand All @@ -52,4 +52,3 @@ If your device is not supported, it will show the following message in the loggi
| RemoteController |
| Alarm |
| HeatingSystem |

1 change: 1 addition & 0 deletions custom_components/tahoma/tahoma_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def device_state_attributes(self):
]

# TODO Parse 'lowBattery' for low battery warning. 'dead' for not available.
# "dead", "lowBattery", "maintenanceRequired", "noDefect"
if CORE_SENSOR_DEFECT_STATE in self.tahoma_device.active_states:
attr[ATTR_BATTERY_LEVEL] = self.tahoma_device.active_states[
CORE_SENSOR_DEFECT_STATE
Expand Down

0 comments on commit 1aac669

Please sign in to comment.