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

I have problem with broadlink integration. it can not find any of my 3 RM mini 3. I tried with ip and mac address but I am getting

Unknown error occurred

these are the logs

Logger: aiohttp.server
Source: components/broadlink/config_flow.py:47
First occurred: 11:31:03 PM (3 occurrences)
Last logged: 11:39:15 PM

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 169, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 106, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 156, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 204, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/broadlink/config_flow.py", line 82, in async_step_user
    await self.async_set_device(device)
  File "/usr/src/homeassistant/homeassistant/components/broadlink/config_flow.py", line 47, in async_set_device
    "model": device.model,
AttributeError: 'rm' object has no attribute 'model'
Home Assistant has started!

Is it only me?

What the heck?! This is a huge release! Happy birthday :slightly_smiling_face::cake:

I put this into the Template Editor of version 0.114.4 and the result is 0

{{ '.46' | int }}

Thatā€™s the same result as in 0.115.

The int filter converts the supplied data to an integer (whole numbers). Itā€™s always behaved that way.

It appears you need to use the float filter which converts to a floating point number (fractional numbers).

1 Like

Canā€™t wait for the update to finish. RPI 3, now takes half an hour for the update, is that normal with this huge update?

It took around 5 minutes for my system to update, I think half an hour may mean something may have gone wrong. Iā€™m using a RPI 4 however, but even so it isnā€™t that much faster than a Pi 3

Hi, first of all I want to thank everyone for the excellent work.
After updating to 0.115.0 my Raspberry Pi4 started having a strange CPU load.
It went from an average of 4% before the update, to an average of 30%, with peaks at 55% after the update.
I tried to disable the sensors, automations and scripts but nothing has changed.
Please help me.

Happy birthday!

Just upgrade from 0.114.0 to 0.115.0 on Pi3 b
got 404: Not Found :frowning:

Is there any workaround for that?

1 Like

Yeah float works. Odd that I had no issues with int before. Maybe I just never noticed.

That means that you donā€™t have enough space I thinkā€¦

Great release guys!

Anyway, I have some issues.

In connection to Broadlink changes:

  1. MP1-1K3S2U - this is a power strip with 4 different slots that can be managed separately.
    Before 0.115 there was an option for entering slots in configuration.
    I the current configuration and according to the updated documentation, this is not available.
    I am using these slots for different automations and scripts and now this is not possible.

EDIT: on 1. - It is recognizing it properly and I can reconfigure the slots.

  1. Power Strip MP2 was supported by defining it as a type ā€œsp2ā€.
    Now type cannot be defined anymore and the device cannot be used.

Is there any workaround for these issues?

Update - smooth as
Happy Birthday and well done again

This could be due to the changes to templates mentioned in Breaking Changes. Template entities will now correctly track all entities that you reference.

So look out for templates that use states (i.e. everything), those templates are now re-calculated whenever anything changes. It is better to use e.g. states("light.office") because this will only track changes to that single entity.

1 Like

I updated the core but the Shelly integration is nowhere to be found. Does it take time to show or is it because I have the ShellyForHASS?

Also, any plans on being able to add smb folders to media folders?

1 Like

Thanks for the reply, I have some templates and tried to restart Home Assistant after removing them but it didnā€™t solve the problem

Congratulations with your 7th birthday!! And what an awesome release!

The mediaplayer seems like I can finally retire Squeezebox. I am wondering though, how will it handle huge collections? Will Hass index the collection? Can we easily search for media in the media browser?

py-spy should be able to tell you what is causing the issue https://github.com/benfred/py-spy/releases. If you get stuck, post a link to a dump, record, and top

1 Like

Hi,
Thanks for reply.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15239572 5524308 9227772 38% /
devtmpfs 494908 0 494908 0% /dev
tmpfs 499516 1308 498208 1% /dev/shm
tmpfs 499516 12796 486720 3% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 499516 0 499516 0% /sys/fs/cgroup
tmpfs 1047552 736 1046816 1% /tmp
tmpfs 51200 164 51036 1% /var/log
/dev/mmcblk0p1 44220 24260 19960 55% /boot

Downgrade to 0.114.0 and itā€™s workingā€¦

Any suggestions?

I donā€™t know how to add it in my Pi4 could you help me to install it?

This is awesome!!! Loving the media browser, but Iā€™m wondering if thereā€™s a way (service, card) that I can call so that I can push a button in Lovelace and have the media browser pop up at a specific location.

Plus, itā€™d be nice if we could sort the browsed folders and/or limit whatā€™s there.

Adding iSmartGate to the gogogate2 integration is huge for me, and doesnā€™t even make it into the list of new integrations!

One less thing relying on Homekit makes me very happy.

1 Like

Great work lots of new additions I see. But sorry guys but spent ages getting my S1c alarm integrated and set up. The new broadlink integration brings no entities in but does connect with the host IP. Even after removing all of the existing configs. The new integration loads fine but no entities appear under S1c. So going back to 0.114.4.
Also all my sensors are broken:

Platform error sensor.history_stats - cannot import name 'UNIT_PERCENTAGE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)