I’m interested if it is posiible to update known_devices.yaml from appdaemon in a home assistant way without mounting to appdaemon and editing it manually?
im sorry but i dont know what you think is “the home assistant way”
and im also not really sure what you mean by “without mounting to appdaemon and editing it manually”
you can use an app to modify a file, so also known_devices.yaml
but you can also use set_state to change the state from a device, which should also change the yaml file.
use device_tracker.seen service to create a new device_tracker which will be added to the known_devices.yaml.
2 Likes
thanks, i forgot about the service.
it is device_tracker.see and can be used with the call_service form appdaemon.