zxdavb / ramses_cc

HA integration for CH/DHW and HVAC systems that use the RAMSES II RF protocol
GNU General Public License v3.0
71 stars 16 forks source link

home assistant complains about deprecated `device_state_attributes` #40

Closed DavidS closed 2 years ago

DavidS commented 2 years ago

When starting the custom component, home assistant complains about deprecated device_state_attributes:

2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc] Schema = {}
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc] Devices = ['13:003246', '12:158468', '12:165258', '12:155287', '18:198161']
2021-12-10 16:49:48 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.evohome_cc
2021-12-10 16:49:48 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.evohome_cc
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.binary_sensor] Creating a Binary Sensor (active) for 13:003246
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.binary_sensor] Creating a Binary Sensor (battery_low) for 12:158468
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.binary_sensor] Creating a Binary Sensor (battery_low) for 12:165258
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.binary_sensor] Creating a Binary Sensor (battery_low) for 12:155287
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.binary_sensor] Found a Gateway (config), id=18:198161
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.sensor] Creating a Sensor (relay_demand) for 13:003246
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.sensor] Creating a Sensor (temperature) for 12:158468
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.sensor] Creating a Sensor (temperature) for 12:165258
2021-12-10 16:49:48 INFO (MainThread) [custom_components.evohome_cc.sensor] Creating a Sensor (temperature) for 12:155287
2021-12-10 16:49:48 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.13_003246_active (<class 'custom_components.evohome_cc.binary_sensor.EvoActuator'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-10 16:49:48 WARNING (MainThread) [homeassistant.helpers.entity] Entity binary_sensor.18_198161_config (<class 'custom_components.evohome_cc.binary_sensor.EvoGateway'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-10 16:49:48 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.13_003246_relay_demand (<class 'custom_components.evohome_cc.sensor.EvoRelayDemand'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-10 16:49:53 INFO (MainThread) [ramses_rf] ENGINE: Saving schema/state...

my manifest.json:

{
    "domain": "evohome_cc",
    "name": "RAMSES RF",
    "documentation": "https://github.com/zxdavb/evohome_cc",
    "requirements": [
      "ramses-rf==0.16.24",
      "pyserial-asyncio==0.5"
    ],
    "dependencies": [],
    "issue_tracker": "https://github.com/zxdavb/evohome_cc/issues",
    "codeowners": ["@zxdavb"],
    "version": "0.0.1"
  }

I'm running Home Assistant 2021.12.0b1:

System Health

version core-2021.12.0b1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.63-v8
arch aarch64
timezone Europe/London
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4820 Installed Version | 1.18.0 Stage | running Available Repositories | 911 Installed Repositories | 6
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.0 -- | -- update_channel | beta supervisor_version | supervisor-2021.12.1 docker_version | 20.10.9 disk_total | 116.5 GB disk_used | 3.9 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.2.1), Studio Code Server (3.7.0), Log Viewer (0.12.1)
Lovelace dashboards | 3 -- | -- resources | 2 views | 8 mode | storage
zxdavb commented 2 years ago

I believe is fixed