Known_devices was deprecated years ago. You have to do everything through the UI now.
Thatās pretty normal on an RPi3 where everything is competing for disk I/O at startup. We did do some work to reduce the amount of writes in this version. There is a bit more next month, however itās always going to be bound by the performance of the device and the underlying storage so I wouldnāt expect more than a few ms improvement.
Getting the HACS āFailed to set upā warning in āIntegrationsā. Itās not really affecting my setup right now, so thatās less of a bother.
However, my IQVIA integration had the same error, so I deleted it and tried to re-add it and now it fails to add. Says that something went wrong during setup and then the integration āfailed to loadā. A reboot of HA gets rid of it. Any ideas?
After the update I have a failure in Denon integration generating a log entry every 20 seconds:
2021-05-05 22:49:33 ERROR (MainThread) [homeassistant.components.denonavr.media_player] Error Not all attributes updated, those are left: {AppCommandCmd(cmd_id='1', cmd_text='GetToneControl', name=None, param_list=None, set_command=None, response_pattern=(AppCommandResponsePattern(update_attribute='_tone_control_status', add_zone=False, suffix='/status', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_tone_control_adjust', add_zone=False, suffix='/adjust', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_bass_level', add_zone=False, suffix='/basslevel', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_bass', add_zone=False, suffix='/bassvalue', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_treble_level', add_zone=False, suffix='/treblelevel', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_treble', add_zone=False, suffix='/treblevalue', get_xml_attribute=None))): None} occurred in method async_update for Denon AVR receiver
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 173, in wrapper
return await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/denonavr/media_player.py", line 224, in async_update
await self._receiver.async_update()
File "/usr/local/lib/python3.8/site-packages/denonavr/denonavr.py", line 173, in async_update
await self.tonecontrol.async_update(
File "/usr/local/lib/python3.8/site-packages/denonavr/tonecontrol.py", line 72, in async_update
await self.async_update_tone_control(
File "/usr/local/lib/python3.8/site-packages/denonavr/tonecontrol.py", line 81, in async_update_tone_control
await self.async_update_attrs_appcommand(
File "/usr/local/lib/python3.8/site-packages/denonavr/foundation.py", line 550, in async_update_attrs_appcommand
raise AvrProcessingError(
denonavr.exceptions.AvrProcessingError: Not all attributes updated, those are left: {AppCommandCmd(cmd_id='1', cmd_text='GetToneControl', name=None, param_list=None, set_command=None, response_pattern=(AppCommandResponsePattern(update_attribute='_tone_control_status', add_zone=False, suffix='/status', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_tone_control_adjust', add_zone=False, suffix='/adjust', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_bass_level', add_zone=False, suffix='/basslevel', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_bass', add_zone=False, suffix='/bassvalue', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_treble_level', add_zone=False, suffix='/treblelevel', get_xml_attribute=None), AppCommandResponsePattern(update_attribute='_treble', add_zone=False, suffix='/treblevalue', get_xml_attribute=None))): None}
Has anyone else seen this? Any hints?
Thanks
Tales
The dev changelog has additional breaking changes for custom integrations, and the sun component is one of them, so the integration needs to be modified
I also have this issues.
Painless upgrade, as always
Have you reported the denon avr issue on GitHub? Then i can subscribe before info the updateā¦ What model do you have?
Same issue and log messages here.
What if you are on the older version?
Iām still in March version, what happens if I upgrade to this version. Will I get the above upgrade type or the April with hours of downtime?
I am seeing the same behaviour, although I did not have the FRITZ!Box Tools installed via HACS, I did have the Fritz Box Device Tracker configured via YAML. With the new integration, that popped up, I do now have a lot of duplicate known devices. Is there any way to clean these up again? E.g. I have automations connected to device_tracker.device1
, which is now not tracked anymore, and have a duplicate device_tracker.device1_2
, which is tracked, but not used in the automations.
Also, if known_devices.yaml is depricated. How to I enable/disable tracking of devices? Previously I had a lot of devices set to track: false
within the known_devices.yaml. I do not see a similar action in the UI.
Can the known_devices.yaml be deleted?
I remove the Fritzbox-Tools again, removed the fritzbox-integration from .yaml, renamed the known_device.yaml, restarted HA and added the fritzbox-tools again.
The newly discovered devices now get their name from the fritzbox, without a suffix.
No idea how to disable tracking, but I donāt mind devices being tacked. I just donāt use the ones Iām not interested in.
CTRL + F5?
That usually works or reboot then CTRL + F5
Thanks. Is there any way to change the consider_home
option?
Will not work as I am on a Mac.
But you are correct. I used a Webapp on the Mac and after restarting it it worked.
I have a problem with all my Tasmota lights:
I can click on one of the colors, the light is shortly switching to this color and then back to white.
This is not happening with ZigBee lights!
OK, so I guess itās time to bite the bullet and rebuild my devices list.
Thereās a lot in there that are either duplicates or arenāt recognised properly (just list as IP address or Android MAC address) so itās going to be a painā¦
I think Iām going to roll back with the snapshot, then remove the configuration.yaml device tracking entry and known_devices.yaml and update again so hopefully I wonāt get all the duplicates again and can make it a bit more clean.
I can see there is a new blueprint under
config\blueprints\script\homeassistant\confirmable_notification.yaml
It seems to be a script. But I do not find how to use this blueprint
I have the adaptive lighting custom integration from HACS installed and I found that half my lights that I had set up with them work (the cheap ecosmart zigbee bulbs from Homedepot, brought in via ZHA) and half donāt (some Shelly duos with latest firmware, brought in via built in integration).
Hi,
I updated my dev box and when i restart i get this message
2021-05-06 06:43:42 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: āNoneā has no attribute ānameā when rendering ā{{ states.switch.lounge_tv_unit.name}} Currentā
2021-05-06 06:43:42 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: āNoneā has no attribute ānameā when rendering ā{{ states.switch.lounge_tv_unit.name}} Current Consumptionā
2021-05-06 06:43:42 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: āNoneā has no attribute ānameā when rendering ā{{ states.switch.lounge_tv_unit.name}} Total Consumptionā
2021-05-06 06:43:42 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: āNoneā has no attribute ānameā when rendering ā{{ states.switch.lounge_tv_unit.name}} Voltageā
2021-05-06 06:43:42 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: āNoneā has no attribute ānameā when rendering ā{{ states.switch.lounge_tv_unit.name}} Todayās Consumptionā
i have this setup in my config yaml for use with the TP-Link HS110
driveway_light_amps:
friendly_name_template: "{{ states.switch.driveway_light.name}} Current"
value_template: '{{ states.switch.driveway_light.attributes["current_a"] | float }}'
unit_of_measurement: 'A'
driveway_light_watts:
friendly_name_template: "{{ states.switch.driveway_light.name}} Current Consumption"
value_template: '{{ states.switch.driveway_light.attributes["current_power_w"] | float }}'
unit_of_measurement: 'W'
driveway_light_total_kwh:
friendly_name_template: "{{ states.switch.driveway_light.name}} Total Consumption"
value_template: '{{ states.switch.driveway_light.attributes["total_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
driveway_light_volts:
friendly_name_template: "{{ states.switch.driveway_light.name}} Voltage"
value_template: '{{ states.switch.driveway_light.attributes["voltage"] | float }}'
unit_of_measurement: 'V'
driveway_light_today_kwh:
friendly_name_template: "{{ states.switch.driveway_light.name}} Today's Consumption"
value_template: '{{ states.switch.driveway_light.attributes["today_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
Only started appearing on reboot after the latest update , all the entities appear to be fine ā¦
Thanks
Ben