You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lambda: |-
auto spareader = new SpaReader(id(spa_uart_bus));
App.register_component(spareader);
id(spa_hour).publish_state(spareader->hour_sensor);
id(spa_minute).publish_state(Minute);
The text was updated successfully, but these errors were encountered:
Hi,
I am using your esphome config a lot but i am not so handy with lambda.
Would it be possible to add a template time to your example config to view
and if possible update the clock of the spa?
https://esphome.io/components/datetime/template
i think it is something like this datetime:
- platform: template
id: spa_datetime
type: time
name: "Spa Time"
update_interval: 60s
set_action:
- lambda: |-
auto spareader = new SpaReader(id(spa_uart_bus));
App.register_component(spareader);
id(spa_hour).publish_state(spareader->hour_sensor);
id(spa_minute).publish_state(Minute);
—
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOCISIY6HUWHQZDNJTSRMYTZIKWK5AVCNFSM6AAAAABJTVZKKGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DIMJRGI2DKMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Hi,
I am using your esphome config a lot but i am not so handy with lambda.
Would it be possible to add a template time to your example config to view and if possible update the clock of the spa?
https://esphome.io/components/datetime/template
i think it is something like this datetime:
id: spa_datetime
type: time
name: "Spa Time"
update_interval: 60s
set_action:
auto spareader = new SpaReader(id(spa_uart_bus));
App.register_component(spareader);
id(spa_hour).publish_state(spareader->hour_sensor);
id(spa_minute).publish_state(Minute);
The text was updated successfully, but these errors were encountered: