Hi.
I am struggling with automation and sending datetime to my KNX bus. It looks like HA want send datetime when I setup an automation.
This is working fine in configuration.yaml:
knx:
expose:
type: 'datetime'
address: '3/0/0'
But when i try to do this with an automation, it says that datetime is not a valid option for type:. Like this in automation.yaml:
alias: Send date and time to knx bus
description: Send date and time to knx bus
trigger:
- platform: time_pattern
seconds: /10 # set to 10 seconds for testing
condition: []
action:
- service: knx.exposure_register
data:
address: 3/0/0
type: datetime # does not like this line.
entity_id: automation.Send date and time to knx bus
mode: single
Have tried everything.
Here is the message from tracing:
Stopped because an error was encountered at 10 January 2022, 01:52:42 (runtime: 0.01 seconds)
not a valid value for dictionary value @ data[‘type’]
Hermod
1 post - 1 participant
Read full topic