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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,7 @@ daily_forecast_days: 5
97
97
show_sunrise_sunset: true
98
98
show_clock: true # Show current time
99
99
clock_position: top # 'top' or 'details'
100
+
clock_format: 24h# '12h' or '24h'
100
101
sunrise_entity: sensor.sun_next_rising # Optional
101
102
sunset_entity: sensor.sun_next_setting # Optional
102
103
```
@@ -177,6 +178,7 @@ This means that in most cases, you don't need to configure sunrise/sunset sensor
177
178
| `show_sunrise_sunset` | boolean | false | Show sunrise and sunset times |
178
179
| `show_clock` | boolean | false | Show current time |
179
180
| `clock_position` | string | `top` | Clock position (`top` for top right, `details` for info row) |
181
+
| `clock_format` | string | `24h` | Clock format (`12h` for 12-hour format with AM/PM, `24h` for 24-hour format) |
180
182
| `sunrise_entity` | string | - | Sunrise sensor entity ID (optional). If not specified, the card will use the weather entity attributes or the default `sun.sun` entity |
181
183
| `sunset_entity` | string | - | Sunset sensor entity ID (optional). If not specified, the card will use the weather entity attributes or the default `sun.sun` entity |
182
184
| `templow_attribute` | string | - | Custom attribute name for minimum temperature (optional). If not specified, the card will automatically search for known attributes: `templow`, `temperature_low`, `temp_low`, `min_temp`, `yandex_pogoda_minimal_forecast_temperature` |
| `clock_position` | string | `top` | Позиция часов (`top` — справа сверху, `details` — в строке информации) |
181
+
| `clock_format` | string | `24h` | Формат времени (`12h` — 12-часовой формат с AM/PM, `24h` — 24-часовой формат) |
180
182
| `sunrise_entity` | string | - | ID сенсора восхода солнца (опционально). Если не указан, карточка будет использовать атрибуты weather entity или стандартную сущность `sun.sun` |
181
183
| `sunset_entity` | string | - | ID сенсора заката солнца (опционально). Если не указан, карточка будет использовать атрибуты weather entity или стандартную сущность `sun.sun` |
182
184
| `templow_attribute` | string | - | Пользовательское имя атрибута для минимальной температуры (опционально). Если не указано, карточка автоматически ищет известные атрибуты: `templow`, `temperature_low`, `temp_low`, `min_temp`, `yandex_pogoda_minimal_forecast_temperature` |
0 commit comments