Closed Chaosflori25 closed 4 years ago
I am not sure what you mean, which services? You have to add this card to resources and then just use it in the UI.
I got this error when I've tested your demo:
Please share your UI config
- card:
entities:
- switch.av_input_tape
title: Inputs
type: button
default: hide
id: Input_t
type: 'custom:local-conditional-card'
- entities:
- action_name: Toggle
icon: 'mdi:power'
name: Sun1
service: local_conditional_card.toggle
service_data:
ids:
- imput_t
type: call-service
Could you format it correctly?
- card:
entities:
- switch.av_input_tape
title: Inputs
type: button
default: hide
id: Input_t
type: 'custom:local-conditional-card'
- entities:
- action_name: Toggle
icon: 'mdi:power'
name: Sun1
service: local_conditional_card.toggle
service_data:
ids:
- imput_t
type: call-service
That's my current config for this test
imput_t
instead of Input_t
entity
instead of entities
Corrected configuration:
- card:
entity: switch.av_input_tape
type: button
default: hide
id: Input_t
type: 'custom:local-conditional-card'
- entities:
- action_name: Toggle
icon: 'mdi:power'
name: Sun1
service: local_conditional_card.toggle
service_data:
ids:
- Input_t
type: call-service
type: entities
I love your Plugin and your demo looks amazing, but when I tried to add it via HACS the services did not get added to my Hassio config. Can I add them manually? And if yes how?