You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-6Lines changed: 27 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,17 @@ To detect exiting a car, an automation can be defined using sensor.smartphone_ha
41
41
## Integration
42
42
43
43
### Sensors
44
-
- <code>sensor.parking_[origin]</code>: sensor with public parking info at location of `origin`
44
+
- <code>sensor.parking_[origin]_address</code>: sensor with adres linked to location of `origin`
45
+
- <code>sensor.parking_[origin]_days_restrictions</code>: sensor with indication of days on which the city parking is restricted
46
+
- <code>sensor.parking_[origin]_max_stay</code>: sensor with max amount of minutes is allowed to park during the days and time restricted schedule
47
+
- <code>sensor.parking_[origin]_price</code>: sensor with price info for the city parking
48
+
- <code>sensor.parking_[origin]_remarks</code>: sensor with remarks related to the the city parking
49
+
- <code>sensor.parking_[origin]_restriction_active</code>: sensor with indication if the time and day restrictions are currenlty active. Eg if Sunday the city parking is not restricted, the restricted_active sensor will be False
50
+
- <code>sensor.parking_[origin]_time_restrictions</code>: sensor with indication of time schedule duding which the city parking is restricted
51
+
- <code>sensor.parking_[origin]_type</code>: sensor with type of city parking zone (eg disk, paid, free, etc)
52
+
- <code>sensor.parking_[origin]_zone_</code>: sensor with zone name of the city parking (eg green, yellow, orange, red, blue, etc)
45
53
- sensor data will be updated every 5min, unless the coordinates of the origin didn't change
46
-
- <details><summary>Sensor attributes</summary>
54
+
- <details><summary>For now all sensors have the same set of attributes</summary>
47
55
48
56
| Attribute | Description |
49
57
| --------- | ----------- |
@@ -52,13 +60,26 @@ To detect exiting a car, an automation can be defined using sensor.smartphone_ha
52
60
|`latitude`| Latitude of the origin |
53
61
|`longitude`| Longitude of the origin |
54
62
|`type`| Type of the public parking, eg paid |
55
-
|`time restrictions`| Time restrictions for the public parking |
56
-
|`days restrictions`| Days at which the public parking is limited |
57
-
|`prices`| Price for 1 or 2 hours parking |
63
+
|`time_restrictions`| Time restrictions for the public parking |
64
+
|`days_restrictions`| Days at which the public parking is limited |
65
+
|`prices`| Price indication for 1 or 2 hours parking and amount of free parking allowed|
58
66
|`remarkds`| Extra info related to the public parking |
59
-
|`maxStay`| Max time you can stay at the public parking |
67
+
|`max_stay`| Max time you can stay at the public parking |
60
68
|`zone`| Name of the zone, blue/orange/red zone indication of public parking |
61
69
|`address`| Address for which the parking information is shown |
70
+
|`time_restriction_active_now`| Time restrictions are currently active |
71
+
|`day_restriction_active_now`| Day restrictions are currently active |
72
+
|`maxstay_passed_now`| Max stay has passed |
73
+
|`maxstay_elapsed`| Time (min) elapsed since max stay started |
74
+
|`maxstay_remaining`| Time (min) remaining until max stay is reached |
75
+
|`maxstay_start_time`| Time at which max stay started |
76
+
|`restriction_active`| Time and day restrictions are currently active |
77
+
|`last_update`| Last time data was updated |
78
+
|`last_restriction_check`| Last time restrictions were checked |
0 commit comments