Wifi thermostat (Beok, Floureon, Beca Energy) component

Hmmmm I’ll have to retest, as the deleted comments were me trying it, and then realising that my original config was different !

I really want to help but I just don’t really understand it

im getting

2019-03-08 18:42:08 ERROR (MainThread) [homeassistant.setup] Error during setup of component broadlink_t
Traceback (most recent call last):
File “/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py”, line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
AttributeError: module ‘custom_components.broadlink_t’ has no attribute ‘setup’

I just wanted to say, that it works great. In fact, I was inspired to combine your broadlink component and “Smart Thermostat” component. Currently my “creature” is being tested, but so far it seems that it works great. If anyone is interested in testing Broadlink PID thermostat component, let me know.

url to try it?

Here you go.

A full functions Hysen Thermostat.

@uss Are you about to help get a Boek thermostat working? original working code prior to 0.89 was

https://raw.githubusercontent.com/clementTal/home-assistant/add_broadlink_climate/homeassistant/components/climate/broadlink.py

I guess we need to do similar to you have with your Hysen in that it needs a climate.py file

let me check

I see, clementTal uses the original broadlink hysen.
did you upgrade to 0.89.x?
If yes, my code should work for your device.

1 Like

You are a star ! how do I buy you a beer?

Thanks !!

:smile:
Drink one for me !

Cheers,
us

2 Likes

Sorry, I’m very busy at th moment, but I’ll have a look as soon as posible (probably tomorow)

1 Like

Take your time mate :+1:

The PR have been closed due to inactivity :confused:
I’ll find some time this week to correct the upgrade bug, improve the component and reopen the MR :wink:

2 Likes

Would be amazing if this became part of HA rather than a custom component

2 Likes

That would be amazing. Thank you so much!

The new PR is open !
Home Assistant file configuration have changed , and you’ll have to change the path to
custom_components/broadlink/ with the content of this directoy

Be carefull, if you use another broadlink component (https://www.home-assistant.io/components/#search/broadlink), you’ll have to copy this file to the custom_components/broadlink/ too.

2 Likes

Works a treat ! thanks Clement - your a star! what’s the link to the PR ?

thanks. but now i have problem

ERROR (MainThread) [homeassistant.loader] Unable to find platform broadlink. Search path was limited to path of component: custom_components

what im missing?

Thanks !
Here is the PR:https://github.com/home-assistant/home-assistant/pull/21962 :wink:

1 Like