Support for covers (and other devices) #2478
-
I started to use this great integration and found that many of my devices are not in the library. Hence, I started to add them by creating local profiles and am happy to share them after I am finished. Now I got stuck on adding profiles for my covers. It seems that covers and other device types are not supported as profiles. This is too bad. Is there any way to add cover support? I guess it would be similar to a switch but instead of watching states on and off it should check for moving up and down. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
That's great.
You could use assuming for example the motor is using 400W. powercalc:
sensors:
- entity_id: cover.my_cover
fixed:
states_power:
opening: 400
closing: 400 This configuration should also be supported in library profiles model.json files. {
"name": "Cover profile",
"standby_power": 0,
"calculation_strategy": "fixed",
"fixed_config": {
"states_power": {
"opening": 400,
"closing": 400
}
}
} When this is working for you I can also add device type cover, so it is also a separate section in the library, but this requires some additions to the codebase. |
Beta Was this translation helpful? Give feedback.
-
I have tried to configure the cover but the following configuration file does not work. In the logs I can see that the device is recognized as amodel in the local database but it is not showing as discovered in the integration page of HA.
|
Beta Was this translation helpful? Give feedback.
-
As I wrote, the device was discovered. I added/configured the cover device but after that no powercalc device and entities were created. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Ok great!
Will be "fixed" with #2503