Commit Graph

379 Commits

Author SHA1 Message Date
illuzn
b1ab9d3f32 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
joBr99
38bec6e7b3 Update pages.py 2022-05-22 21:46:07 +02:00
joBr99
76ee233f10 refactor cover 2022-05-22 18:48:46 +02:00
joBr99
5d8ec79af5 fix qrcode 2022-05-22 18:35:29 +02:00
joBr99
54357cce2c qr 2022-05-22 17:45:35 +02:00
joBr99
caa599b2e6 . 2022-05-22 17:21:24 +02:00
joBr99
7fc1e15cef limit sensor on cardgrid to 4 chars 2022-05-22 17:13:40 +02:00
joBr99
11edb0b358 changed shutter icon command format 2022-05-22 16:52:04 +02:00
joBr99
150a0e48c6 refactor 2022-05-22 15:11:31 +02:00
illuzn
a498ae5d20 Update pages.py 2022-05-22 22:17:57 +09:30
illuzn
80c0977ad6 Update icons.py 2022-05-22 22:17:40 +09:30
joBr99
1acd60bf4b Merge pull request #208 from illuzn/illuzn-patch-1
Make sensors useful in cardGrid
2022-05-22 13:47:39 +02:00
illuzn
d24c14fa3f 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
fee0c81832 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
illuzn
c38dcda5df Update icons.py 2022-05-22 19:50:18 +09:30
illuzn
59e31fa6d9 Completed sensor icon mappings
Filled out with all mappings expected from HA
2022-05-22 19:41:03 +09:30
illuzn
0058a1178e Corrected Typo in Mapping
Correct Typo in your Mapping. I'm glad you know what you are doing :)
2022-05-22 19:23:24 +09:30
joBr99
e046ce8866 fixes #204 2022-05-22 11:17:43 +02:00
joBr99
386eb16bfe Merge branch 'main' into pr/203 2022-05-22 10:55:41 +02:00
joBr99
b2fbe15841 fix pos 2022-05-22 10:04:50 +02:00
joBr99
588c57d882 remove icon override for now 2022-05-22 10:01:22 +02:00
joBr99
31e46a4795 Merge branch 'main' into main 2022-05-22 09:58:03 +02:00
joBr99
c2a8d988ac icons for shutters are now configurable 2022-05-22 09:52:19 +02:00
joBr99
25e88f7fd5 Update pages.py 2022-05-22 08:56:02 +02:00
joBr99
1782d9133c Update icons.py 2022-05-22 08:54:14 +02:00
illuzn
f93d0d50b4 Update pages.py 2022-05-22 15:34:24 +09:30
illuzn
c1757cc78c Merge pull request #2 from illuzn/patch-2
Covers use device_class
2022-05-22 15:13:01 +09:30
illuzn
dd4307e8ad 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
illuzn
82e9bbf938 Covers use device_class
Covers now use device_class to dynamically change the icon so that it is relevant.
2022-05-22 14:57:56 +09:30
joBr99
800352f351 implemented #193 2022-05-21 21:56:23 +02:00
joBr99
3f65d03d6b fix 2022-05-21 18:51:20 +02:00
joBr99
fd26e95d76 show state instead of 50 in case position is None 2022-05-21 18:38:54 +02:00
joBr99
cec4ebe7e6 fixes #181 2022-05-21 17:23:02 +02:00
joBr99
d424e37115 fix typo 2022-05-21 14:05:30 +02:00
joBr99
3f89d2386f implemented #196 2022-05-21 13:46:19 +02:00
joBr99
eb7edaa424 fix add template 2022-05-20 17:09:41 +02:00
joBr99
2ac00fe243 added template for #195 2022-05-19 20:51:38 +02:00
joBr99
45818bdf0b fix icon 2022-05-15 10:49:55 +02:00
joBr99
21a83cf8d7 add config for temp unit on climate card 2022-05-15 10:42:29 +02:00
joBr99
dd41c8bfff two temp mode 2022-05-14 17:34:01 +02:00
joBr99
6358bd72c9 set label text 2022-05-14 15:54:44 +02:00
joBr99
a5de617083 add loc para 2022-05-14 14:53:58 +02:00
joBr99
403beb11ec fix media page fallback 2022-05-14 12:19:33 +02:00
joBr99
36f33821c5 ajust havac buttons to new firmware 2022-05-14 12:07:42 +02:00
joBr99
5e613f18e0 Fixed localization 2022-05-13 22:17:28 +02:00
joBr99
5542a56c98 Add position info #145 2022-05-07 22:11:28 +02:00
joBr99
8024dd1798 Update nspanel-lovelace-ui.py 2022-05-07 17:37:58 +02:00
joBr99
f7fc9f8493 fix localization 2022-05-07 17:21:02 +02:00
joBr99
b3fb86e427 implemented localization for popup pages 2022-05-07 17:04:10 +02:00
joBr99
7bf4cf519e Bump to 2.8.0/33 2022-05-07 11:50:46 +02:00