Andrew J.Swan

Results 176 comments of Andrew J.Swan

+1 and battery like in mi flora :)

https://github.com/myhomeiot/esphome-components/blob/main/examples/myhomeiot_ble_client/mi_band.yaml

> esphome.... its not for me Link for @Ernst79

Steps not require connect, only battery and battery states need connect, like MiFlora...

Great idea, then I can invert the graph to get this result: ![image](https://user-images.githubusercontent.com/3609660/169013016-e9c2920e-f77b-4ed8-b312-2bc0200496d2.png)

How about yaml mode? After restart all my sensor have unavailable state, after some time, have correct states ...

@Ernst79 My Yaml config: ``` # Mi BLE Devices decimals: 1 period: 60 log_spikes: False use_median: False active_scan: False restore_state: True hci_interface: 0 devices: !secret ble_devices report_unknown: False ``` !secret...

I have all the sensors are prescribed as I wrote above, but some restore the state and some do not, before all restored instantly on startup.

All in one format: ``` - mac: 'XX:XX:XX:XX:XX:XX' name: 'Sensor Name' encryption_key: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx' ``` mac - Upperacse, encryption_key - lower case, name like above ...