Commit Graph

310 Commits

Author SHA1 Message Date
illuzn
7e9578f72f popupShutter now also respects device_class
generate_shutter_detail_page() now respects device_class and fetches the appropriate icon
2022-05-22 21:14:28 +09:30
illuzn
89e1a5ab2a Make sensors useful in cardGrid
Previously: sensors in cardGrid show an icon and the title below.

Desired Result: Sensors now display the state in place of the icon.

Rationale: Displaying a static icon in cardGrid is pointless. This way the state is displayed in large font which makes it useful and easier to read for the sight impaired.

Synopsis of Changes: render_card() now passes on cardType to generate_entities_page() which in turn passes it onto generate_entities_item(). If the cardType is `cardGrid` then the state is displayed instead of the icon.
2022-05-22 20:25:45 +09:30
Johannes
5e735c9807 Merge branch 'main' into pr/203 2022-05-22 10:55:41 +02:00
Johannes
41cccaccc6 fix pos 2022-05-22 10:04:50 +02:00
Johannes
007e5ffaa7 remove icon override for now 2022-05-22 10:01:22 +02:00
Johannes
9a0ae4aade Merge branch 'main' into main 2022-05-22 09:58:03 +02:00
Johannes
8228ecb6c9 icons for shutters are now configurable 2022-05-22 09:52:19 +02:00
Johannes
7e13d2ec42 Update pages.py 2022-05-22 08:56:02 +02:00
illuzn
feade863f4 Update pages.py 2022-05-22 15:34:24 +09:30
illuzn
93cdc3d831 Laying down groundwork for better cover icons
Uses device_class to distinguish between different types of cover and passes to get_icon_id_ha. If device_class is not configured, defaults to None (window) as fallback.
2022-05-22 14:57:58 +09:30
Johannes
4626702a45 fix 2022-05-21 18:51:20 +02:00
Johannes
ec06dc7e22 show state instead of 50 in case position is None 2022-05-21 18:38:54 +02:00
Johannes
65b13e8fa2 fixes #181 2022-05-21 17:23:02 +02:00
Johannes
be5e6135e3 fix typo 2022-05-21 14:05:30 +02:00
Johannes
d6424c9ec3 implemented #196 2022-05-21 13:46:19 +02:00
Johannes
34e38da177 fix add template 2022-05-20 17:09:41 +02:00
Johannes
d50ad6b684 added template for #195 2022-05-19 20:51:38 +02:00
Johannes
feda782e17 fix icon 2022-05-15 10:49:55 +02:00
Johannes
34cdc8b4e9 add config for temp unit on climate card 2022-05-15 10:42:29 +02:00
Johannes
35f6302fec two temp mode 2022-05-14 17:34:01 +02:00
Johannes
5170d0b2e8 set label text 2022-05-14 15:54:44 +02:00
Johannes
5d5f565ece add loc para 2022-05-14 14:53:58 +02:00
Johannes
772124db4b fix media page fallback 2022-05-14 12:19:33 +02:00
Johannes
8608f170eb ajust havac buttons to new firmware 2022-05-14 12:07:42 +02:00
Johannes
c2ee0d30f1 Add position info #145 2022-05-07 22:11:28 +02:00
Johannes
c4fab76907 fix localization 2022-05-07 17:21:02 +02:00
Johannes
6ab5c666ac implemented localization for popup pages 2022-05-07 17:04:10 +02:00
Johannes
035f03fd49 add color for #175 2022-05-07 10:22:29 +02:00
Johannes
ea7b2ae09d try to fix fans 2022-05-07 09:41:16 +02:00
Johannes
ab3301ffbd implemented fan #175 2022-05-06 17:07:05 +02:00
Johannes
d6ecb04c87 fix lock button text 2022-05-06 15:40:56 +02:00
Johannes
ded9bebd4c added color for lock 2022-05-06 07:16:25 +00:00
Johannes
16e70c390a add lock to pages.py 2022-05-06 09:03:40 +02:00
Johannes
a969fb5ad6 Fix Timezone for Weather on Screensaver 2022-04-23 00:11:39 +02:00
Johannes
2d5e012a4f add input_text to entities page 2022-04-20 20:29:41 +02:00
Johannes
1d5fa9de6e Update pages.py 2022-04-18 17:47:17 +02:00
Johannes
42d406d1b6 change same day check for forecast 2022-04-18 16:52:26 +02:00
Johannes
2d7ab5e5db Check interval between forecast items 2022-04-17 23:14:06 +02:00
Johannes
1ec7558ec0 remove custom logging stuff 2022-04-16 08:29:40 +02:00
Johannes
e2fabe9eb4 fix lightup on callback 2022-04-11 00:20:52 +02:00
Johannes
ee98936e05 Fix lgtm Recommendation 2022-04-07 15:58:15 +02:00
Johannes
3177942288 fix icon on alt layout 2022-04-05 22:57:11 +02:00
Johannes
43d0a95b31 Fix Shutter Detail Page 2022-04-04 15:51:02 +02:00
Johannes
6e6d72577a Update pages.py 2022-04-03 20:53:28 +02:00
Johannes
9ba4d04ccc change date parser 2022-04-03 14:30:32 +02:00
Johannes
2f072a4e68 Update pages.py 2022-04-03 14:09:56 +02:00
Johannes
0df505a0eb fix media page 2022-04-03 09:47:44 +02:00
Johannes
767ed78c40 fixed navigation on subpages for cardThermo cardMedia and cardAlarm 2022-04-03 09:17:33 +02:00
Johannes
131bbc8798 fix sleep 2022-04-02 20:23:02 +02:00
Johannes
f4c870c51c fix alert 2022-04-02 20:00:03 +02:00