We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Checklist:
Release with the issue: v1.13.0
Last working release (if known): n/a
Browser and Operating System: hass / chrome / win10
Description of problem: Failed to call service switch/toggle. must contain at least one of entity_id, device_id, area_id, floor_id, label_id.
Javascript errors shown in the web inspector (if applicable):
type: custom:slider-button-card entity: number.boiler_controler_set_power show_state: true slider: direction: left-right background: gradient use_state_color: true compact: true toggle_on_click: true use_percentage_bg_opacity: true show_track: true force_square: false icon: icon: '' tap_action: action: none show: true use_state_color: true show_attribute: false show_name: true compact: false action_button: mode: custom show: true show_spinner: true tap_action: action: call-service service: switch.toggle target: entity_id: switch.boiler_controler_boiler_overide_switch data: {} # End of code
Additional information:
The text was updated successfully, but these errors were encountered:
There's a known bug with the yaml generation from the visual editor (#73).
Replacing target with service_data should fix the problem.
target
service_data
type: custom:slider-button-card entity: number.boiler_controler_set_power show_state: true slider: direction: left-right background: gradient use_state_color: true compact: true toggle_on_click: true use_percentage_bg_opacity: true show_track: true force_square: false icon: icon: '' tap_action: action: none show: true use_state_color: true show_attribute: false show_name: true compact: false action_button: mode: custom show: true show_spinner: true tap_action: action: call-service service: switch.toggle service_data: entity_id: switch.boiler_controler_boiler_overide_switch
Sorry, something went wrong.
thanks @rohankapoorcom. It does fix the problem. Cheers
No branches or pull requests
Checklist:
Release with the issue: v1.13.0
Last working release (if known): n/a
Browser and Operating System: hass / chrome / win10
Description of problem: Failed to call service switch/toggle. must contain at least one of entity_id, device_id, area_id, floor_id, label_id.
Javascript errors shown in the web inspector (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: