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
@@ -294,6 +294,7 @@ Or make space inside the the plot like this:
294
294
```yaml
295
295
time_offset: 3h
296
296
```
297
+
297
298
## Offsets
298
299
299
300
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.
@@ -950,6 +951,19 @@ refresh_interval: 0 # never update.
950
951
refresh_interval: 5 # update every 5 seconds
951
952
```
952
953
954
+
## localization:
955
+
956
+
The locale is directly taken from Home Assistant's configuration, but can be overridden like this:
957
+
958
+
```yaml
959
+
config:
960
+
locale: ar
961
+
```
962
+
963
+
** Home Assistant custom Number and Date format will be ignored, only the language determines the locale **
964
+
965
+
When using `hours_to_show: current_week`, the "First day of the week" configured in Home Assistant is used
0 commit comments