Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Show only temperature of specific entity #9

Open
adandl opened this issue Dec 21, 2019 · 5 comments
Open

[Feature Request] Show only temperature of specific entity #9

adandl opened this issue Dec 21, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@adandl
Copy link

adandl commented Dec 21, 2019

Hello!
The climate group is very useful - thank you very much.
Just one question - I have three thermostats which I have in one group.
of course they have little different readings.
Which actual temperatur is shown on the group element?
Thanks a lot!

Albert

@daenny
Copy link
Owner

daenny commented Dec 28, 2019

The average temperature is shown.

@daenny daenny closed this as completed Jan 2, 2020
@adandl
Copy link
Author

adandl commented Jan 2, 2020

Sorry - I was away during new year :).
Is it possible to change the interface to show the temperatur from only one instead?
I have a wall-mount device in the group which has it's own reading and that is the one I'd like to display

@daenny
Copy link
Owner

daenny commented Jan 7, 2020

Yes this could be implemented. However I do not have the time to do this.
You would need to add a configuration variable like:
display_value: average|entitiy_id

@daenny daenny reopened this Jan 7, 2020
@daenny daenny changed the title Question: which temperatur is shown? [Feature Request] Show only temperature of specific entity Apr 3, 2020
@daenny daenny added the enhancement New feature or request label Apr 3, 2020
@daenny
Copy link
Owner

daenny commented Jun 12, 2020

I have made an initial (not tested) implementation here:
#28

you have to add:

master_device: entity

to your config

@bash-worth
Copy link

Thanks for this component, I'm trying to use master_device: but I'm getting the following error when I try to use the master-sync branch (with ha 2021.5.4):

Error while setting up climate_group platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 231, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/climate_group/climate.py", line 95, in async_setup_platform
ClimateGroup(
File "/config/custom_components/climate_group/climate.py", line 143, in init
async_track_state_change(
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 222, in async_track_state_change
return async_track_state_change_event(hass, entity_ids, state_change_listener)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 253, in async_track_state_change_event
entity_callbacks = hass.data.setdefault(TRACK_STATE_CHANGE_CALLBACKS, {})
AttributeError: 'NoneType' object has no attribute 'data'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants