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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -296,6 +296,7 @@ Or make space inside the the plot like this:
296
296
```yaml
297
297
time_offset: 3h
298
298
```
299
+
299
300
## Offsets
300
301
301
302
Offsets are useful to shift data in the temporal axis. For example, if you have a sensor that reports the forecasted temperature 3 hours from now, it means that the current value should be plotted in the future. With the `time_offset` attribute you can shift the data so it is placed in the correct position.
@@ -952,6 +953,19 @@ refresh_interval: 0 # never update.
952
953
refresh_interval: 5 # update every 5 seconds
953
954
```
954
955
956
+
## localization:
957
+
958
+
The locale is directly taken from Home Assistant's configuration, but can be overridden like this:
959
+
960
+
```yaml
961
+
config:
962
+
locale: ar
963
+
```
964
+
965
+
** Home Assistant custom Number and Date format will be ignored, only the language determines the locale **
966
+
967
+
When using `hours_to_show: current_week`, the "First day of the week" configured in Home Assistant is used
0 commit comments