2021.4: For our advanced users ❤️

Great update! :clap:
Does anyone know how often the new supervisor sensors get updated?
Also, are there any plans to expose the RAM/CPU usage for each add-on as sensors?

1 Like

Once an hour. No one has looked into system stats yet but that would change the performance impact of the integration so that would be something that would have to be looked into in order to add this

2 Likes

Is there a way to see the awesome new visual bits of automations besides running them? I was hoping they’d let me visualize automations during creation or while editing.

Double check the “is_owner” property of your user in the .storage/auth file. My user was not the owner for some reason, even tho I setup the system.

How long did the update take on your machines? I‘m waiting for 20 minutes to enter home assistant again

Like to update but i get the same error as with 2021.3.4 when I run “Check Home Assistant configuration” to check if update. Already item on forum

Yes, already tried it. Tried also another browser, but now chance to get the analytics to show up.

Thanks for the hint. This file is empty on my installation …

Don’t be silly, its easier to criticize peoples efforts constantly than actually contributing

2 Likes

Impressive, again!
Looking forward to have some fun with the debugger. I write a lot of additional logging for the more complex automations, so that might be a thing of the past now.

Big thanks for this cool and useful new features. Keep up the good work and don’t forget the minor bugs like stay/leave bug on browsing away of your edited automation and the duration trigger issue. Boring stuff compared to this release but just as important :blush:

I am not fast enough in reading how to create the unique identifiers with VSCode Addon. Can someone help me crossing this street … . Thankd

hi, i have the following errors after upgrading to v2021.4.0, i’ve been searching my sensors but i can’t find anything that is using {{value_json [“POWER”]}} any idea what it might be or someone else this is happening to? regards

Logger: homeassistant.helpers.template
Source: helpers/template.py:1335
First occurred: 23:01:19 (48 occurrences)
Last logged: 23:04:05

Template variable warning: 'dict object' has no attribute 'POWER' when rendering '{{ value_json["POWER"] }}'
Logger: homeassistant.config_entries
Source: helpers/entity_component.py:174
First occurred: 23:01:51 (1 occurrences)
Last logged: 23:01:51

Error unloading entry configuration.yaml for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_unload
    result = await component.async_unload_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 77, in async_unload_entry
    return await hass.data[DOMAIN].async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 174, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

Can anyone explain how to convert an mqtt fan that has three speeds to the new percentage speeds?

I have an ifan03 and I’ve been using a template from the forum to get it set up and it works fine but now I need to change it to use the new percentages and I just can’t seem to see where to make the changes.

here is the code now.

  - platform: mqtt  
    name: "Deck Fan"
    command_topic: "cmnd/deck_fan/FanSpeed"
    speed_command_topic: "cmnd/deck_fan/FanSpeed"    
    state_topic: "stat/deck_fan/RESULT"
    speed_state_topic: "stat/deck_fan/RESULT"
    state_value_template: >
      {% if value_json.FanSpeed is defined %}
        {% if value_json.FanSpeed == 0 -%}off{%- elif value_json.FanSpeed > 0 -%}on{%- endif %}
      {% else %}
        {% if states.fan.deck_fan.state == 'off' -%}off{%- elif states.fan.deck_fan.state == 'on' -%}on{%- endif %}
      {% endif %}
    speed_value_template: "{{ value_json.FanSpeed }}"
    availability_topic: tele/deck_fan/LWT
    payload_off: "off"
    payload_on: "on"
    payload_low_speed: "1"
    payload_medium_speed: "2"
    payload_high_speed: "3"
    payload_available: Online
    payload_not_available: Offline
    speeds:
      - "off"
      - low
      - medium
      - high

How do I convert the speed values of 0,1, 2, 3 (off, low, medium, high) to speed percentages for the percent command and percent state?

I had the same question. Didn’t know unique id generation was an option for add on vscode and can’t see any docs that describe it. I suspect there are a whole bunch of cool things I don’t know the vscode add on can do.

it’s naive to think that everyone contributes with a code. I’ve seen no such requirement on this forum. It’s not closed community available for code contributors only.
it’s also naive to not expect criticism on work which is suboptimal.

I pointed to what is wrong with current implementation. Providing valid examples. It’s wise to make use of this information.
Why everytime someone informs you about issues, you go on him with ‘program it yourself’ argument instead of returning unpolished/unfinished the work to original developer? Hi is responsible for work he has done. Not me

4 Likes

How long do anayltics take to show up online? There were four installations in NZ, I enabled analytics, restarted HA; reloaded the analytics page (with a cache clear) and there are still four in NZ.

Focus your cursor where you want the id. Then type ‘gen’ in the command box and you should see a generate uuid command in the list of available options. Click it.

Normally every hour, but there is an update issue currently.

I don’t think you understand what this project is about. It is free for a reason. People use their spare time to develop this (except the Nabu Casa folks). You seem to take this for granted when you are calling other people’s work suboptimal. People do there best in the limited time they have to contribute to this project. If you have time to write and complain, you certainly also have time to contribute to the project. It is a two way street.

6 Likes