Closed avol-io closed 4 years ago
Do you mean something like this:
like the first one. But also the "shortcut %" it's nice :)
The first one is a standard HA loavelace set of a cover entity. The second one is a simple HA service execution. Here is the lovelace code:
- entity: cover.shelly_roller_boys
name: Boys
secondary_info: 'Poistion: [[ {entity}.attributes.current_position ]]'
type: 'custom:secondaryinfo-entity-row'
- action_name: Execute
icon: 'mdi:window-open'
name: ...Set 20%
service: cover.set_cover_position
service_data:
entity_id: cover.shelly_roller_boys
position: '20'
type: call-service
thank i'm new of HASS and i never tried custom widget. Thanks for share your configuration. I will try soon
I think you can use this lovelace plugin for that: https://github.com/thomasloven/lovelace-slider-entity-row
It's possibile have roller % percent to use in widget and maybe change it from the widget? like it's possibile to do with light brightness ? Or dinamic name (like: "kitchen roller 30%") with arrow/stop icons?