What i miss or make wrong? after 1H i give up and ask for help
Invalid config
The following components and platforms could not be set up:
discovery
switch.broadlink
Please check your config
What i miss or make wrong? after 1H i give up and ask for help
Invalid config
The following components and platforms could not be set up:
discovery
switch.broadlink
Please check your config
Two = signs at the end of the ir code, eg:
command_on: 'JgBGAJKVDzsQ<snip>Og8ADQUAAA=='
Or if you have any other switches defined then make switch: to switch 255: or some large number
Grrrr!! Yes one more = work!
Do you know why now i get a error about Invalid config
The following components and platforms could not be set up:
discovery ?
i dont now why that start without any of my hand
Perhaps you have discovery: in your config file?
yes i have, this is not a default on the config ?
why he stop working/./
Take it out if you don’t need it, it’s not a default. Personally I’ve only recently started using since I started using RF Link, I’ve always put everything in manually.
Are there any logs as to what’s wrong with discovery?
i dont know what is worng now, also automation.yaml stop working
Thisis my log,
Well the automation error has been existent for a few weeks now you can’t use state but must use ‘to’ or ‘at’ - check the docs - you can use state in conditions just not triggers. I don’t have clue what’s wrong with xiaomi. If you show the offending automations we can help
trigger:
- platform: state
entity_id: switch.rfl_freezer_open
to: 'on'
# instead of state: 'on'
the at: is for time triggers.
So i need to change all ?
to like this ? state: ‘on’ = to: ‘on’
Are you sure your home assistant instance has a notify service called “xiaomi”?
That work for long time, i just add a new broadlink and then the issue start.
i back to my backup and now this stop working…
maby i need service: notify.pushbullet ?
How do you receive notifications?
to pushbullet
still not working
the command work fine foe long time
Just give it a try:
- alias: Front door is open
trigger:
- platform: state
entity_id: binary_sensor.door_window_sensor_158d000127ae25
from: 'off'
to: 'on'
action:
- service: notify.xiaomi
data:
message: "Front door open"
target: "device/LGE Nexus 5X"
Yes!!! Work!
Why did it suddenly change?
PS, Before amazon alexa find all this via “automation” as hue light, now after the new code did not, do you have any idea how to make it on/off with alexa? my this issue with my discovery?
you are the King!!!
It was a breaking change from a while ago, you should always read the change logs before upgrading