-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Add homematic STATE channel as attribute #56559
Conversation
Hey there @pvizeli, @danielperna84, mind taking a look at this pull request as it has been labeled with an integration ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's wrong. You need fix the model
Excuse me if I'm not smart enough to understand: What model needs a fix? |
@pvizeli Can you explain, which change request do you see here? It's only about adding another attribute to the devices. Here esp. the valve switch state of the thermostats. And this state is only named state and @sVnsation is putting only this state with the name attriibute_state as another addition attribute to the device. the name attribute_state, because state is unfortunately the general name of different states in different devices. Here state is the valve switch state and on another device it could be whatever. But only with this PR, we will have this state as the needed attribute in the device. |
Is there any update here? Or explanation why it is not going to be merged? |
An updated would be much appreciated. Happy to help or test if needed. |
STATE is based on the device object. So if it is STATE, you need check the type of the class and decide the right information for it |
I'm not sure if it's clear what this is about. This is intended to not have to create an entity based on the |
Shouldn't the HMIP-BWTH valve/switching state be translated to What would be the right approach so that home assistant is able to recognize the heating automatically (e.g., to have it in the respective diagrams next to current temperature and target temperature, without the need for additional template sensors, etc.)? |
From my point of view. valve closed <> cooling. |
HMIP-BWTH and HMIP-BWTH24 support heating and cooling, see https://files2.elv.com/public/15/1506/150628/Internet/150628_um.pdf section 6.6.1. They would do this by actuating the exact same switching output, just depending on the current mode. E.g., for heating hot water is let through the valve by actuating the switch; for cooling, it is assumed that the heating system can provide cold water which is then let through the valve by actuating the switch). Accordingly, it depends on the current mode, whether your current Based on the documentation https://developers.home-assistant.io/docs/core/entity/climate/#hvac-action, I guess we would need to use If so, I guess this will automatically provide heating information in climate history chart, see also https://community.home-assistant.io/t/explanation-of-climate-history-chart/73926 |
I think you are wrong or in the wrong idea.
But valve open oder closed is completely different to "temperature is already achieved". Here the valve state for such device The temperature is never reached. And the device is still in heating mode of course. Take the attribute and use it in a chart. |
@emufan: My understanding is different. Exactly because of what you cited, I think Sure, I can create a template sensor utilizing Maybe someone else can help us out in resolving the unclarity. Maybe @pvizeli? |
Any update/outlook on this? |
Would also be my question. I can only once again emphasize my understanding, which btw is exactly how, e.g., https://github.com/ScratMan/HASmartThermostat is implemented and behaving. Thus, visualization with the shaded area works correctly. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
I'm already in all installations on new integration, but really don't understand why this is not merged for giving the users of the core integration the valve level of the devices, which are setting this in this parameter. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Proposed change
Makes homematic STATE attribute visible in home-assistant.
Needed for HmIP-BWTH added switching state for heating valve see: danielperna84/pyhomematic#415
Dependency pyhomematic 0.1.74 is already merged in PR #54613
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: