Hello guys,
I´m trying to debug 2 simple scenes with an led strip (tuya), that I think were working months ago. They´re supposed just to change to blue and orange.
scene:
- name: office schrank orange
entities:
light.office_schrank_led:
state: on
transition: 4
brightness_pct: 100
rgb_color: [255,48,0]
- name: office schrank blau
entities:
light.office_schrank_led:
state: on
transition: 4
brightness_pct: 100
rgb_color: [0,0,255]
I´m calling them from a button-card, the action looks the same for orange and blue
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.office_schrank_blau
type: 'custom:button-card'
Funny thing is, I get 2 different error messages, although the code is the same for both colors?!
When executing the “blue” scene, I´ll get:
"Error calling scene/turn_on Int() argument must be a string, a bytes-like object or a number, not ´NoneType’
When executing the "orange scene, I´ll get:
" Error calling scene/turn_on. None for dictionary value @ Data[´rgb_color´]
Is there something in my code not working that way (anymore)?
Thanks,
Phil