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: appliance1 call action switch-toggle #170

Open
rog2054 opened this issue Apr 1, 2024 · 0 comments
Open

feature request: appliance1 call action switch-toggle #170

rog2054 opened this issue Apr 1, 2024 · 0 comments

Comments

@rog2054
Copy link

rog2054 commented Apr 1, 2024

I'm wanting the appliance1 tap action to call the standard switch.toggle action for an entity, so i can turn this device on/off from the card rather than browsing to my other dashboard which has a button card for this device. Can this be done?
I notice in the documentation that click actions have been added for the main 4 entities (house, grid, battery, solar) although i haven't got a use case for these actions currently.

title: Tesla-style Energy Card
type: custom:tesla-style-solar-power-card
show_w_not_kw: 1
appliance1_icon: mdi:water-boiler
appliance2_icon: mdi:tumble-dryer
change_house_bubble_color_with_flow: 1
hide_inactive_lines: 1
generation_icon: mdi:solar-power
name: Current Power Use
grid_to_house_entity: sensor.givtcp_grid_to_house
grid_to_battery_entity: sensor.givtcp_grid_to_battery
generation_to_grid_entity: sensor.givtcp_solar_to_grid
generation_to_battery_entity: sensor.givtcp_solar_to_battery
generation_to_house_entity: sensor.givtcp_solar_to_house
battery_to_house_entity: sensor.givtcp_battery_to_house
battery_to_grid_entity: sensor.givtcp_battery_to_grid
battery_extra_entity: sensor.givtcp_soc
appliance1_consumption_entity: sensor.shelly1pm_98cd_power
appliance1_extra_entity: sensor.shelly1pm_98cd_temperature_2
appliance2_consumption_entity: sensor.1pmsw1_power
house_without_appliances_values: 1
appliance1_entity: switch.shelly1pm_98cd <-- tried this but it didn't work

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

No branches or pull requests

1 participant