0.115: B-Day release! Media browser, tags, automations & WTH

The emulated_hue is broken with the following error:

Component error: emulated_hue - cannot import name ā€˜real_ipā€™ from ā€˜homeassistant.components.httpā€™ (/usr/src/homeassistant/homeassistant/components/http/init.py)

Any idea?

1 Like

Thanks for the hint @Kanishkaz. Yes it looks exactly my problem, hopefully will be solved on next release.

You probably have templates that listen to all states or are listening to their own changes or making loops.

I most definitely do, but wasnā€™t an issue previously, and I didnā€™t see any changes that relates, or did I miss that?

Check the templates section of the breaking changes.
We will now update the template on every change of states you used in your template. If you use all states in multiple template sensors that will end in a loop.

Will do, does this only apply to scripts / automations, or sensors as well?

Sensors too.

well that is not very desirable and rather underlines my thoughts about that here

previously, entity_id: was a great tool to define ā€˜globalā€™ entities for the full sensor, And limiting the updating of the sensor to only that entity_id.
Hope we can get that back.

Is there a simple way to track these down?

Iā€™m not sure I truly understand what needs to be changed here.

I have absolutely no idea which change did it, but my IKEA Tradfri bulb which is managed by ZHA does finally report its state back to HASS, even if it was changed by the connected TRadfri remote. This makes me more happy than anyone here could possibly imagine. :slight_smile:

1 Like

Hi, anybody knows what append with sonoff integration ?

Also is it normal for HA to log errors while evaluating templates in the Template Editor in Developer Tools?

For example, just for testing purposes, entering the following, logs the error below.
{{% states.system_log_event %}}

Logger: homeassistant.components.websocket_api.http.connection.881958896
Source: components/websocket_api/connection.py:126
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 6:39:30 AM (2 occurrences)
Last logged: 6:39:31 AM

* Error handling message: invalid template (TemplateSyntaxError: unexpected 'end of print statement') for dictionary value @ data['template']. Got '{{states.system_log_event %}}'
* Error handling message: invalid template (TemplateSyntaxError: unexpected '%') for dictionary value @ data['template']. Got '{{% states.system_log_event %}}'

Yes you can!
You have to make an Automation and select Device as trigger,
It should give you a drop down with turning on or off.

And as action select service wake_on_lan.send_magic_packet, just like you did before.

Works fine here!

Only thing I canā€™t figure out is how to make a correct automation for turning off my kodi instance.

1 Like

I did, not solving the issue.

The real_ip stuff has been removed in this release indeed, are you using emulated_hue as a custom component? As the code that is reference that error, does not existing in the Home Assistant code base.

:seven:
is a lucky number :slight_smile: from the whole :heart: I wish the entire HA / Nabucasa team to quickly, turn this project into a beautiful Unicornā€¦ like on the card :wink: you have potential for this!

What this project has achieved is incredible! Thank you, guys!!!

4 Likes

iā€™ve this warning in the log:

Logger: homeassistant.components.template.sensor
Source: helpers/config_validation.py:752
Integration: template (documentation, issues)
First occurred: 11:58:11 (2 occurrences)
Last logged: 12:14:00

The ā€˜entity_idā€™ option is deprecated, please remove it from your configuration

could be related to this template switch?

  - platform: template
    switches:
      camera_citofono:
        value_template: "false"
        turn_on:
          - service: media_player.play_media
            data_template:
              entity_id: media_player.nesthub0150
              media_content_id: http://192.168.1.12:8081
              media_content_type: "image/jpg" 
        turn_off:
          - service: media_player.turn_off
            entity_id: media_player.nesthub0150

Seems to be an issue with a python module.

Not sure how to fix

ItĀ“s true. I tried automation for turning off and nothing Working. Log is without error and the same in Development tools (turn_off not working). This is my automations:

- id: '1600429708808'
  alias: Vypnout Kodi
  description: ''
  trigger:
  - platform: device
    device_id: a357f157f92111ea9fa40********
    domain: kodi
    entity_id: media_player.coreelec
    type: turn_off
  condition: []
  action:
  - service: kodi.call_method
    data:
      method: System.Shutdown
    entity_id: media_player.coreelec
  mode: single

I have the same issue and it seems it breaks google cloud tts. Are you using the docker image, because it look likes itā€™s missing a library on the OS.