kirichkov / home_assistant-ble

Companion application for home-assistant, sending bluetooth low energy detection
21 stars 4 forks source link

Use device_tracker REST API instead of state #5

Closed kirichkov closed 7 years ago

kirichkov commented 7 years ago

This changes the HASS API used to mark a device as home / not_home. Instead of "state", the device_tracker/see API is used, which allows a device to be marked based on mac address without overwriting any of the additional settings - image, friendly name, etc.

kamaradclimber commented 7 years ago

thanks a lot @kirichkov for the patch