RSSI_PEER and RSSI_DEVICE are different things (fixes #20900) (#20902)

* Fix #20900: RSSI_PEER and RSSI_DEVICE are different things

This change is fixing issue #20900.

Wireless actors are having two RSSI values. The way the component was programmed one of them was overwritten.

* Added deprecation comment

* Fixed long line

* Fix: pylint comment

* Lint

* flake8

* flake8 again

* Update __init__.py
This commit is contained in:
CV 2019-02-18 03:53:57 +01:00 committed by Andrew Sayre
parent 425b9851fc
commit ce7f678b9b

View file

@ -107,8 +107,8 @@ HM_ATTRIBUTE_SUPPORT = {
'ERROR': ['sabotage', {0: 'No', 1: 'Yes'}],
'ERROR_SABOTAGE': ['sabotage', {0: 'No', 1: 'Yes'}],
'SABOTAGE': ['sabotage', {0: 'No', 1: 'Yes'}],
'RSSI_PEER': ['rssi', {}],
'RSSI_DEVICE': ['rssi', {}],
'RSSI_PEER': ['rssi_peer', {}],
'RSSI_DEVICE': ['rssi_device', {}],
'VALVE_STATE': ['valve', {}],
'LEVEL': ['level', {}],
'BATTERY_STATE': ['battery', {}],