Add restore_state option to docs
@@ -255,6 +255,7 @@ ble_monitor:
hci_interface: 0
batt_entities: False
discovery: True
+ restore_state: True
report_unknown: False
devices:
- mac: 'A4:C1:38:2F:86:6C'
@@ -332,6 +333,10 @@ ble_monitor:
Data from sensors with other addresses will be ignored. Default value: True
+#### restore_state
+
+ (boolean)(Optional) This option restores the state right after a restart of Home Assistant to the start just before the restart. The component needs some time (see [period](#period) option) to receive data and to determine the mean or median value. During this period, the entity will have a state "unknown" when `restore_state` is set to `False`. When set to `True` the previous state will be used till it has processed new data. Setting this option to `False` can be helpful for debugging. Default value: True
+
#### report_unknown
(boolean)(Optional) This option is needed primarily for those who want to request an implementation of device support that is not in the list of [supported sensors](#supported-sensors). If you set this parameter to `True`, then the component will log all messages from unknown Xiaomi ecosystem devices to the Home Assitant log (`logger` component must be enabled). **Attention!** Enabling this option can lead to huge output to the Home Assistant log, do not enable it if you do not need it! Details in the [FAQ](https://github.com/custom-components/ble_monitor/blob/master/faq.md#my-sensor-from-the-xiaomi-ecosystem-is-not-in-the-list-of-supported-ones-how-to-request-implementation). Default value: False
