Skip to content

Commit 9931a33

Browse files
authored
Update README.md
1 parent 0084e58 commit 9931a33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ After it has been downloaded you will need to restart Home Assistant.
4545

4646
### Versions
4747

48-
This custom integration supports HomeAssistant versions 2024.8.3 or newer.
48+
This custom integration supports HomeAssistant versions 2024.11.0 or newer.
4949

5050
## Configuration
5151

@@ -74,6 +74,7 @@ composite:
7474
7575
- **default_options** (*Optional*): Defines default values for corresponding options under **trackers**.
7676
- **require_movement** (*Optional*): Default is `false`.
77+
- **show_unknown_as_0** (*Optional*)): Default is `false`.
7778
- **max_speed_age** (*Optional*)
7879
- **driving_speed** (*Optional*)
7980
- **end_driving_delay** (*Optoinal*)
@@ -86,6 +87,7 @@ composite:
8687
- **name**: Friendly name of composite device.
8788
- **id** (*Optional*): Object ID (i.e., part of entity ID after the dot) of composite device. If not supplied, then object ID will be generated from the `name` variable. For example, `My Name` would result in a tracker entity ID of `device_tracker.my_name`. The speed sensor's object ID will be the same as for the device tracker, but with a suffix of "`_speed`" added (e.g., `sensor.my_name_speed`.)
8889
- **require_movement** (*Optional*): `true` or `false`. If `true`, will skip update from a GPS-based tracker if it has not moved. Specifically, if circle defined by new GPS coordinates and accuracy overlaps circle defined by previous GPS coordinates and accuracy then update will be ignored.
90+
- **show_unknown_as_0** (*Optional*): `true` or `false`. If `true`, when the speed sensor's state would normally be `unknown` it will be set to `0.0` instead. This can help, e.g., when using the speed sensor as input to the [Statistics](https://www.home-assistant.io/integrations/statistics/) integration.
8991
- **max_speed_age** (*Optional*): If set, defines the maximum amount of time between speed sensor updates. When this time is exceeded, speed sensor's state will be cleared (i.e., state will become `unknown` and `angle` & `direction` attributes will become null.)
9092
- **driving_speed** (*Optional*): Defines a driving speed threshold (in MPH or KPH, depending on general unit system setting.) If set, and current speed is at or above this value, and tracker is not in a zone, then the state of the tracker will be set to `driving`.
9193
- **end_driving_delay** (*Optional*): If set, defines the amount of time to wait before changing state from `driving` (i.e., Driving) back to `not_home` (i.e., Away) after speed falls below set `driving_speed`. This can prevent state changing back and forth when, e.g., slowing for a turn or stopping at a traffic light. If not set, state will change back to `not_home` immediately after speed drops below threshold. May only be used if `driving_speed` is set.
@@ -155,6 +157,7 @@ direction | Compass heading of movement direction (if moving.)
155157
composite:
156158
default_options:
157159
require_movement: true
160+
show_unknown_as_0: true
158161
max_speed_age:
159162
minutes: 5
160163
driving_speed: 15

0 commit comments

Comments
 (0)