samhstein / sp108e_ws2815

home assistant sp108e with ws2815 integration
58 stars 20 forks source link

Changing effect in HA Automation not working #9

Open H0nzik1 opened 3 years ago

H0nzik1 commented 3 years ago

I am trying to change color effect in automation and it is not working, only brightness changes. Any idea?

kusok18 commented 3 years ago

Помогите:

lenta50: alias: Потолок вкл 50 sequence:

Этот скрипт работает.

lenta100: alias: Потолок вкл 100 sequence:

Этот не хочет работать, выдаёт ошибку:

2021-04-13 00:42:28 ERROR (MainThread) [homeassistant.components.script.lenta100] Потолок вкл 100: Error executing script. Invalid data for call_service at pos 1: None for dictionary value @ data['rgb_color']

Как надо указать параметр для цвета?

samhstein commented 3 years ago

not sure, i have not had much success with automations either, i think it may be something to do with sending the command, thinking that it may need to verify the state after command is sent to make sure it got done or retry...