Taraman17 / hass-homee

a Home Assistant custom component to integrate the homee smart home platform
MIT License
15 stars 2 forks source link

Danalock > only Watchdog and batterie available, state like look, unlook missing #61

Closed Wesie closed 5 months ago

Wesie commented 6 months ago

Type of problem

Version

Hacs-homee => V2.9.2 HA => Core 2024.3.1 Frontend 20240307.0

Detailed description

There are only the Watchdog and Batterie visible. Missing is the urgent state like Look, Unlook ...

Error log

2024-03-31 17:34:04.610 INFO (MainThread) [custom_components.homee] Found node Poly-control Danalock V3 BTZE, with following Data: {'id': 9, 'name': 'Poly-control Danalock V3 BTZE', 'profile': 2007, 'image': 'default', 'favorite': 0, 'order': 31, 'protocol': 1, 'routing': 0, 'state': 1, 'state_changed': 1711799526, 'added': 1645036891, 'history': 1, 'cube_type': 1, 'note': '%231%20Twist%201Byte%200%3Daus%20%201%3Dan%0A%232%20Hold%26release%204Byte%201-2147483647%20Sek.%0A%233%20Block%20to%20Block%200%3Daus%201%3Dan%0A%234%20temp%20BLE%20Timer%204Byte%201-2147483647%20Sek.%0A%235%20BLE%20immer%20an%200%3Daus%201%3Dan%0A%236%20Autolook%204Byte%201-2147483647%20Sek.', 'services': 3, 'phonetic_name': '', 'owner': 2, 'security': 0, 'attributes': [{'id': 101, 'node_id': 9, 'instance': 0, 'minimum': 0, 'maximum': 1, 'current_value': 0.0, 'target_value': 0.0, 'last_value': 1.0, 'unit': '', 'step_value': 1.0, 'editable': 1, 'type': 232, 'state': 1, 'last_changed': 1711897362, 'changed_by': 1, 'changed_by_id': 0, 'based_on': 1, 'data': '', 'name': '', 'options': {'automations': ['toggle'], 'history': {'day': 35, 'week': 5, 'month': 1, 'stepped': True}}}, {'id': 102, 'node_id': 9, 'instance': 0, 'minimum': 0, 'maximum': 0, 'current_value': 0.0, 'target_value': 0.0, 'last_value': 0.0, 'unit': 'text', 'step_value': 1.0, 'editable': 0, 'type': 44, 'state': 1, 'last_changed': 0, 'changed_by': 1, 'changed_by_id': 0, 'based_on': 1, 'data': '5.03', 'name': ''}, {'id': 103, 'node_id': 9, 'instance': 0, 'minimum': 0, 'maximum': 0, 'current_value': 0.0, 'target_value': 0.0, 'last_value': 0.0, 'unit': 'text', 'step_value': 1.0, 'editable': 0, 'type': 45, 'state': 1, 'last_changed': 0, 'changed_by': 1, 'changed_by_id': 0, 'based_on': 1, 'data': '1.03', 'name': ''}, {'id': 104, 'node_id': 9, 'instance': 0, 'minimum': 0, 'maximum': 100, 'current_value': 77.0, 'target_value': 77.0, 'last_value': 74.0, 'unit': '%25', 'step_value': 1.0, 'editable': 0, 'type': 8, 'state': 1, 'last_changed': 1711796587, 'changed_by': 1, 'changed_by_id': 0, 'based_on': 1, 'data': '', 'name': '', 'options': {'history': {'day': 182, 'week': 26, 'month': 6}}}, {'id': 163, 'node_id': 9, 'instance': 0, 'minimum': 0, 'maximum': 1, 'current_value': 0.0, 'target_value': 0.0, 'last_value': 1.0, 'unit': '', 'step_value': 1.0, 'editable': 1, 'type': 385, 'state': 1, 'last_changed': 1661856736, 'changed_by': 1, 'changed_by_id': 0, 'based_on': 0, 'data': '', 'name': ''}]}

Taraman17 commented 5 months ago

Added this to the latest beta release.

Please test if lock/unlocked is not invertetd.

Wesie commented 5 months ago

It looks like, that I must change for the test to the beta version isn't it? How I make it without losing the configuration because a statistics for power (incl Solarsystem is running and I don't want lost the history datas...

Taraman17 commented 5 months ago

https://github.com/Taraman17/hass-homee/blob/v2.9.3-beta.2/howto_beta.md

So installieren, dann geht nix verloren.

Wesie commented 5 months ago

Using the version 2.9.2 beta2: The Status open / closed is correct implmented (open in red/ close in green and NOT inverted. Looks very good. Thank you very much for your support