Commit Graph

182 Commits

Author SHA1 Message Date
Johannes
1987ec8ab3 fix auto color in weather 2022-05-23 16:44:30 +02:00
Johannes
c77eeb3375 move theme config to screensaver 2022-05-23 16:33:19 +02:00
Johannes
ef14e59cad Merge pull request #219 from illuzn/illuzn-patch-themes
Screensaver Themes Patch
2022-05-23 15:43:42 +02:00
Johannes
100cb0ec79 refactor 2022-05-23 15:37:17 +02:00
Johannes
6c97b814a9 refactor 2022-05-23 15:35:11 +02:00
illuzn
20b9c6e2a3 Update pages.py 2022-05-23 21:24:24 +09:30
illuzn
2003eed521 Add theme functionality 2022-05-23 17:44:25 +09:30
Johannes
204ab94115 Merge pull request #215 from illuzn/illuzn-patch-2
Disable controls on gridEntities
2022-05-23 08:17:39 +02:00
illuzn
ce1f16ac18 fixed unsafe code 2022-05-23 15:39:37 +09:30
Johannes
a1bd56aac0 Merge pull request #213 from illuzn/illuzn-patch-1
Refactored icons.py and pages.py
2022-05-23 07:36:03 +02:00
illuzn
e627132f65 Now handles opening/ closing 2022-05-23 13:57:51 +09:30
illuzn
391d29de25 Differentiate media page error and off icons
Media page now shows `speaker-off` when the speaker is off instead of an error icon.
2022-05-23 13:39:17 +09:30
illuzn
340fc351a5 Disable controls on gridEntities
Other cover types now also have the ability to disable unused buttons in gridEntities.

Code is copied from generate_shutter_detail_page()
2022-05-23 13:34:01 +09:30
illuzn
23f2006366 Refactor for consistency/ flow 2022-05-23 13:05:44 +09:30
Johannes
0aec7daf4b Update pages.py 2022-05-22 21:46:07 +02:00
Johannes
837ec2eaa9 fix qrcode 2022-05-22 18:35:29 +02:00
Johannes
293b2bbf34 qr 2022-05-22 17:45:35 +02:00
Johannes
de11223327 . 2022-05-22 17:21:24 +02:00
Johannes
90e7802733 limit sensor on cardgrid to 4 chars 2022-05-22 17:13:40 +02:00
Johannes
6329d7e92d changed shutter icon command format 2022-05-22 16:52:04 +02:00
illuzn
214c753b7b Update pages.py 2022-05-22 22:17:57 +09:30
Johannes
d206c4ee94 Merge pull request #208 from illuzn/illuzn-patch-1
Make sensors useful in cardGrid
2022-05-22 13:47:39 +02:00
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