Commit Graph

481 Commits

Author SHA1 Message Date
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
illuzn
046d2edd4a Refactor for consistency 2022-05-23 13:04:29 +09:30
Johannes
0aec7daf4b Update pages.py 2022-05-22 21:46:07 +02:00
Johannes
6024aca816 refactor cover 2022-05-22 18:48:46 +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
Johannes
fb7df40e83 refactor 2022-05-22 15:11:31 +02:00
illuzn
214c753b7b Update pages.py 2022-05-22 22:17:57 +09:30
illuzn
7a5725d16f Update icons.py 2022-05-22 22:17:40 +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
illuzn
7f90a0594d Update icons.py 2022-05-22 19:50:18 +09:30
illuzn
248cd67b66 Completed sensor icon mappings
Filled out with all mappings expected from HA
2022-05-22 19:41:03 +09:30
illuzn
e302e3f146 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
Johannes
02709ddfa5 fixes #204 2022-05-22 11:17:43 +02:00
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
Johannes
b11aebc88c Update icons.py 2022-05-22 08:54:14 +02:00
illuzn
feade863f4 Update pages.py 2022-05-22 15:34:24 +09:30
illuzn
5edebfc7b9 Merge pull request #2 from illuzn/patch-2
Covers use device_class
2022-05-22 15:13:01 +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
illuzn
6d3759b99c 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
Johannes
e650b7dbfc implemented #193 2022-05-21 21:56:23 +02:00
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
c647c42095 Fixed localization 2022-05-13 22:17:28 +02:00
Johannes
c2ee0d30f1 Add position info #145 2022-05-07 22:11:28 +02:00
Johannes
a6594e0f4a Update nspanel-lovelace-ui.py 2022-05-07 17:37:58 +02:00
Johannes
c4fab76907 fix localization 2022-05-07 17:21:02 +02:00