added stone room

added numberbox card
238
David Kebler 2021-01-01 11:00:49 -08:00
parent eefdbd278f
commit d640590528
44 changed files with 3782 additions and 2066 deletions

View File

@ -1 +1 @@
2020.12.1 2020.12.2

View File

@ -52,6 +52,16 @@
"is_active": true, "is_active": true,
"name": "test", "name": "test",
"system_generated": false "system_generated": false
},
{
"id": "66bf1f45db524de88f93b2b50fb0584f",
"group_ids": [
"system-admin"
],
"is_owner": false,
"is_active": true,
"name": "Hass.io",
"system_generated": true
} }
], ],
"groups": [ "groups": [
@ -127,7 +137,7 @@
"access_token_expiration": 1800.0, "access_token_expiration": 1800.0,
"token": "552d438c538636357742acea47d8a022fcaab47c74a20435614f69540088948934d66767b0348eeec4c4de979691f12f3ce28c20c3854dfd0b5b263efd07f40f", "token": "552d438c538636357742acea47d8a022fcaab47c74a20435614f69540088948934d66767b0348eeec4c4de979691f12f3ce28c20c3854dfd0b5b263efd07f40f",
"jwt_key": "0ed3886ff667ce6e5f17c621f1c8b8c1f14fe258f2669022c078f14e5e5c3906a8b37ad6c949aa6c1af800a5fbc94fd6e581de258a01c884e368cf6d0d5c741f", "jwt_key": "0ed3886ff667ce6e5f17c621f1c8b8c1f14fe258f2669022c078f14e5e5c3906a8b37ad6c949aa6c1af800a5fbc94fd6e581de258a01c884e368cf6d0d5c741f",
"last_used_at": "2020-12-18T05:17:58.556455+00:00", "last_used_at": "2021-01-01T07:42:37.242225+00:00",
"last_used_ip": "172.30.32.2" "last_used_ip": "172.30.32.2"
}, },
{ {
@ -267,7 +277,7 @@
"access_token_expiration": 1800.0, "access_token_expiration": 1800.0,
"token": "67154748b468ae62cff3021f566ce8f1d94d89f7e223b3dfb8432226347f1e1f0ba05674e2e089fa98ee08add0be40d38e70f3af9dc74cf9dbb5f9e93d358cb0", "token": "67154748b468ae62cff3021f566ce8f1d94d89f7e223b3dfb8432226347f1e1f0ba05674e2e089fa98ee08add0be40d38e70f3af9dc74cf9dbb5f9e93d358cb0",
"jwt_key": "50e901c4783bb84711838442d27a1ea4d44213eea590113bb1154bd69efc18d98cc8892287520a35a5154b087996bdeba2e131697f28bade44e8f5cc75fa6235", "jwt_key": "50e901c4783bb84711838442d27a1ea4d44213eea590113bb1154bd69efc18d98cc8892287520a35a5154b087996bdeba2e131697f28bade44e8f5cc75fa6235",
"last_used_at": "2020-12-18T05:17:57.852541+00:00", "last_used_at": "2021-01-01T18:56:21.652776+00:00",
"last_used_ip": "10.0.0.2" "last_used_ip": "10.0.0.2"
}, },
{ {
@ -897,7 +907,7 @@
"access_token_expiration": 1800.0, "access_token_expiration": 1800.0,
"token": "d9cce9fda43a1711dd7e09f7b3c2a80492c2561e5db7972aff31ceaf68e330126c233b361e1c7aca06b56ed3a50c9ed4f8e4688d9d4c279a0e1d3a8ce544644a", "token": "d9cce9fda43a1711dd7e09f7b3c2a80492c2561e5db7972aff31ceaf68e330126c233b361e1c7aca06b56ed3a50c9ed4f8e4688d9d4c279a0e1d3a8ce544644a",
"jwt_key": "a4020e6b1ddeb3f600eae73269a4eb31c917ab837f93101a42b587160743808dba65395ee57a6d3dc2bb62bea4fd1e25b19b2e16e8267889398ae904412bd399", "jwt_key": "a4020e6b1ddeb3f600eae73269a4eb31c917ab837f93101a42b587160743808dba65395ee57a6d3dc2bb62bea4fd1e25b19b2e16e8267889398ae904412bd399",
"last_used_at": "2020-12-18T17:02:57.020487+00:00", "last_used_at": "2020-12-20T21:11:52.408466+00:00",
"last_used_ip": "10.0.0.2" "last_used_ip": "10.0.0.2"
}, },
{ {
@ -911,7 +921,175 @@
"access_token_expiration": 1800.0, "access_token_expiration": 1800.0,
"token": "b803b3516fbf26d72b6d33f0c70e45370123c1e97e404c021645ca9ff900691e77578b0bfd47211c17f1308bc976b33e25077995803c7c1b20c9d6bd08d553c2", "token": "b803b3516fbf26d72b6d33f0c70e45370123c1e97e404c021645ca9ff900691e77578b0bfd47211c17f1308bc976b33e25077995803c7c1b20c9d6bd08d553c2",
"jwt_key": "f03cdead1812714da6513f6ab8cb98e3698c2c787ca40934035b258a052d3b7287ca5c521b8cc6f49e40c9812eba1c4be66cdb9835b6c409916e29a10d232533", "jwt_key": "f03cdead1812714da6513f6ab8cb98e3698c2c787ca40934035b258a052d3b7287ca5c521b8cc6f49e40c9812eba1c4be66cdb9835b6c409916e29a10d232533",
"last_used_at": "2020-12-18T17:12:13.343453+00:00", "last_used_at": "2021-01-01T18:14:18.113574+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "691b36380d314981ad40451fd8844a00",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:12:26.759053+00:00",
"access_token_expiration": 1800.0,
"token": "fdbe22ad115b20ca6178dd2629cb77a65abc09244a558515004b1ca646917cef98a3f0c4754358cf3270dc45f06ca76ae92cfad368bb73604c0cf8cf6f07be84",
"jwt_key": "7e272d1eeb849a77c7cbfa1b50c26aaf579a4431e1da7e3b40740f1709707310ba44c9e503c5c675d673efcd81333a5ca2bc5b7d08713c5ff8cabf1ff6282157",
"last_used_at": "2020-12-20T21:12:26.759780+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "6ef255f2d1d14b37b024951febe7a7e7",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:17:25.583298+00:00",
"access_token_expiration": 1800.0,
"token": "34ca3aa3f3d0a636106c01290a112904422f6100ef9ca5a59747947db458fe6401f87feed63c10d296d595477f518a82133939d10ac095dab256bcc33e478245",
"jwt_key": "8e3812405bdf2b4e6dc1522cc722a650d48bf08f15f786c67154f38793d236fefb8d6d65bf599fa78a75fab95632576904262e40445922b73b2294d94483e36a",
"last_used_at": "2020-12-20T21:17:25.583457+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "4c8430e66a2a4afab3f37b6ed1b07960",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:17:50.507856+00:00",
"access_token_expiration": 1800.0,
"token": "2588494e600e3b6b8036d839b67e76a23c267dccf1dbc6c94d32be971acf126ff94804c0bec662b80c999d649b641a6b00848bf06e6e1cc410883477ba111b09",
"jwt_key": "2d4e721c593411d064f765f7ac35b4e721d60448616ecd2382cb5aed318685a5f8955126c9ff8152abdc65e9b89b1206eaacd6c9aad3349d5da3491cafa3eb9f",
"last_used_at": "2020-12-20T21:17:50.508087+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "aba7d59351de495f86a7143e5b4602ab",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:20:05.531940+00:00",
"access_token_expiration": 1800.0,
"token": "79b7522680f2a839d2e0e9168f30bc5f2fe75bdcf13c0c2ac9f18a99d55d4450aef3f0753d058eec59d4c973f8fbe937c121283c1fe347bee9fb6d6eba3f49a7",
"jwt_key": "1814c801056e01298f2b0c5bcea8bcff3a4308beaf34c504859ae702403137b2c5a4fe6a045a9b87782e049b2ffd48b600e1386b2333c2dc559627178f8b07c0",
"last_used_at": "2020-12-23T18:03:28.519054+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "aa9702d1dc504aa6ac2ce8fb5764808f",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:20:34.118239+00:00",
"access_token_expiration": 1800.0,
"token": "138b6adea1e8a3b487796da3163c83513d7c4269295dfd54edc53d12dcbea050cc584d9cf206dafcb4f0d6d905b96fc4f989fbcf42ea1ebaddae23e1c2de250c",
"jwt_key": "f7a0e8a8f0123ea3ce03876f6a960e94bb4c773090ca8f8b2a095b78b99e00b3f4039bceb48fa46f78bb770e20bda1542cab2d9d5530dc8dda9e4aa27b5cbff2",
"last_used_at": "2020-12-20T21:20:34.118448+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "80f506020b4e43e9abcb141cb4c93dd9",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-20T21:21:00.508989+00:00",
"access_token_expiration": 1800.0,
"token": "fc393f58762101982850d6e3d9f0317cfbcb284efce694c6da6095c7d23a3f01849b8cdf87457737d35f23fec0d9853d7754847e352d2f7245525bb4add4d7c9",
"jwt_key": "29492c7321194223cf9a99586577f8e5d309c48e51bd8912a67c0538835da7775839ac30698ac1ecd3a7abba0ccaac6d37cd5faebaefa4d570f46f2ca12ce6b7",
"last_used_at": "2020-12-20T21:21:00.509176+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "17129cd1209048d3830c5545473b16cf",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://home-assistant.io/android",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-22T01:28:11.834773+00:00",
"access_token_expiration": 1800.0,
"token": "757bc443f34e5be80517de8299b2da68ec611d7904657cf3274218a87c12d23eca51e75554adb7e8cc4975fbe77cf986d985e2ab4b8456c04cc0296ae63d7b9f",
"jwt_key": "3ab5c600c6bbfb3e1dedb8d82ed0ca3869f7b5ecea8484d6b1d11a3be13f358ac6d4e98a74d5e617e4231cf3979cdf844b8d439717d13bee2a8d6d2332c5b8eb",
"last_used_at": "2020-12-22T15:44:21.403029+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "1eb21cd141bb4e30819e684f9214280a",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-22T19:13:49.769255+00:00",
"access_token_expiration": 1800.0,
"token": "a0ee724d9ba26e90bfa47518326f9e873daeefeaadec10a76cef944f77e525c324be6fa622979aade32209762fba88cf970801ad62d6f733424c8ac77e2fd8d2",
"jwt_key": "0e4dfe9cfd6bfcda77cd28404d859fd6a1a77ab2385b6403f177a4bbec76a3693ff888a6fd0576fe8907195306a749f67610801cc40124ec9cd813e86d725fdf",
"last_used_at": "2021-01-01T18:56:21.854612+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "c2bf0d6d66d04ccc925a74e6d148e013",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-26T16:30:41.536291+00:00",
"access_token_expiration": 1800.0,
"token": "42b3c49d9b4576bc4e619b22246df92e14d6118a42cc763b065cc16bb89091881d4404e598d81e5f23279f1a8b9005daebf3abf7295105c4d67babcfdeef183a",
"jwt_key": "9bd9db49c3e6b042cf8cf381d4524d0925d01706e4cb59307a0ad30f0c720f38f3876846377ebfdae7af6f06847902349a013abecb0bc35a5d2d287a1207b06b",
"last_used_at": "2020-12-26T16:30:41.536615+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "5f49eb2fd00b49e881173c8b2dc42b91",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2020-12-26T17:33:03.187972+00:00",
"access_token_expiration": 1800.0,
"token": "4701b65970cf212718d7f0e8432c0e0f9db6a53d612ae8b1fcd4eec43d585d5e12811baedad69d1c98e490af6991e53dcce5166c2ac5eb1ddfec27b3c1539d50",
"jwt_key": "d1c5d7e6de5b87e8cda403921c1c91815329d15ac86bef57097e0ebffad5508af0aae029d2199fc4e9b85ba9ed34b9d90aa20a2576a5a578efba799be24f6fe1",
"last_used_at": "2020-12-26T17:33:03.188120+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "298b529cfaf749198dc5aebab2d710df",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2021-01-01T03:37:51.762108+00:00",
"access_token_expiration": 1800.0,
"token": "3bfc140f4ff55430c87e788fde1afd3c8cf246b08903801a3f0f175b3c79ca91c27b97f56493f9664cd664bf421c9bbc5aac599da77db2bfac4895d093fe0cc7",
"jwt_key": "c9ba69b03fac1f31fb90289fee8475dfcf3b06d911f18a064c632a1a546852eeb12914d5109c9379e815262ba7cebfb3b3f7dfac916893e23d946aa8e0c6eed4",
"last_used_at": "2021-01-01T03:37:51.762223+00:00",
"last_used_ip": "10.0.0.2"
},
{
"id": "204f607544c44e63bd5ba06752a1b870",
"user_id": "99685dc45d9f40dc8183e11ce5128038",
"client_id": "https://ha.kebler.net/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2021-01-01T17:14:37.251834+00:00",
"access_token_expiration": 1800.0,
"token": "b8ddaba40e51ef24631b25a035825799a0dce6e8e6526b8c31c93b77af93dbed026af3a45982c4e3577f52cb13eccf36c101f3e54b1c0cf165ee80977442067c",
"jwt_key": "37934f3b5cc3447c7ad56f0c6dae7a8d6a0ceeef41b8a4e1920754e22ac695a07e3333f6b00a898e27046bf7223e2e61d5e4cfef792807e4c8a3e9622e5a075d",
"last_used_at": "2021-01-01T18:56:20.018108+00:00",
"last_used_ip": "10.0.0.2" "last_used_ip": "10.0.0.2"
}, },
{ {
@ -1067,6 +1245,20 @@
"jwt_key": "f18a94dfa0270259bb9deb169599deef12e2a948fcced55337c5b40688e8b08a87287b4eddcf982f6ec4097eea25d1708f3029cb9a987400fb6d61272fe08b4d", "jwt_key": "f18a94dfa0270259bb9deb169599deef12e2a948fcced55337c5b40688e8b08a87287b4eddcf982f6ec4097eea25d1708f3029cb9a987400fb6d61272fe08b4d",
"last_used_at": "2020-05-04T17:12:36.668523+00:00", "last_used_at": "2020-05-04T17:12:36.668523+00:00",
"last_used_ip": "10.0.0.3" "last_used_ip": "10.0.0.3"
},
{
"id": "b46d5b3818ba4da782b4da9faee7a9b9",
"user_id": "66bf1f45db524de88f93b2b50fb0584f",
"client_id": null,
"client_name": null,
"client_icon": null,
"token_type": "system",
"created_at": "2021-01-01T16:31:24.421780+00:00",
"access_token_expiration": 1800.0,
"token": "f1b7e74705250996e46cbd6002591a8c829fb40405d766cfc55a8f3caed3aa29b5e1616d4960bac3a8e181bc04dd135a59096161448640e8d49fa393d0b2be7d",
"jwt_key": "fa10f02042ee89cdfce1f1d396a42b73b0500c5214b5ebd09f42e43f88551ccc934e84c925d9adb90f56d3d2eb158aa5e2676b0f6352711af65601fe815a31ce",
"last_used_at": "2021-01-01T17:06:47.089483+00:00",
"last_used_ip": "172.30.32.2"
} }
] ]
} }

View File

@ -52,42 +52,6 @@
"connection_class": "local_push", "connection_class": "local_push",
"unique_id": null "unique_id": null
}, },
{
"entry_id": "9436e71647e64581a19a2cc8172f9a35",
"version": 1,
"domain": "esphome",
"title": "inside_temp_humd",
"data": {
"host": "10.0.0.180",
"password": "",
"port": 6053
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "zeroconf",
"connection_class": "local_push",
"unique_id": "inside_temp_humd"
},
{
"entry_id": "cf5266d3fa4a4824850935818193ac48",
"version": 1,
"domain": "esphome",
"title": "outside_temp_humd",
"data": {
"host": "10.0.0.222",
"password": "",
"port": 6053
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"connection_class": "local_push",
"unique_id": "outside_temp_humd"
},
{ {
"entry_id": "3ed789ad543542018f094a6d3d209d9a", "entry_id": "3ed789ad543542018f094a6d3d209d9a",
"version": 1, "version": 1,
@ -215,6 +179,53 @@
"source": "user", "source": "user",
"connection_class": "cloud_poll", "connection_class": "cloud_poll",
"unique_id": null "unique_id": null
},
{
"entry_id": "e3331a90c176db53203e617de248ec9e",
"version": 1,
"domain": "mobile_app",
"title": "Lenovo TB-X606F",
"data": {
"app_id": "io.homeassistant.companion.android",
"app_name": "Home Assistant",
"app_version": "3.0.2-full (521)",
"device_name": "Lenovo TB-X606F",
"manufacturer": "LENOVO",
"model": "Lenovo TB-X606F",
"os_name": "Android",
"os_version": "29",
"supports_encryption": false,
"app_data": {
"push_url": "https://mobile-apps.home-assistant.io/api/sendPush/android/v1",
"push_token": "eYx84w81T5yJ9Q26-sMBWu:APA91bHEockNh6OSntVWD9rFGWU-g3NFkV-ULRPgjhRSp_O-i2FR4xFd-xg1z83TTn5Xx6Bo99oz0q-NEnNPmMF7g4apHEvkWbg38PxHI_nLArWv2ClDpqYIJ0sssI2it4lzP98Da1Nr"
},
"device_id": "61f299924dae5227",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"user_id": "99685dc45d9f40dc8183e11ce5128038"
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "registration",
"connection_class": "cloud_push",
"unique_id": "io.homeassistant.companion.android-61f299924dae5227"
},
{
"entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"version": 1,
"domain": "tasmota",
"title": "Tasmota",
"data": {
"discovery_prefix": "tasmota/discovery"
},
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "mqtt",
"connection_class": "local_push",
"unique_id": "tasmota"
} }
] ]
} }

View File

@ -47,50 +47,6 @@
"name_by_user": null, "name_by_user": null,
"disabled_by": null "disabled_by": null
}, },
{
"config_entries": [
"9436e71647e64581a19a2cc8172f9a35"
],
"connections": [
[
"mac",
"84:f3:eb:3b:77:30"
]
],
"identifiers": [],
"manufacturer": "espressif",
"model": "PLATFORMIO_D1_MINI",
"name": "inside_temp_humd",
"sw_version": "1.15.3 (Nov 15 2020, 07:10:38)",
"entry_type": null,
"id": "1883f8cbd6b548b992e9a1974008f81f",
"via_device_id": null,
"area_id": null,
"name_by_user": null,
"disabled_by": null
},
{
"config_entries": [
"cf5266d3fa4a4824850935818193ac48"
],
"connections": [
[
"mac",
"84:f3:eb:3b:84:92"
]
],
"identifiers": [],
"manufacturer": "espressif",
"model": "PLATFORMIO_D1_MINI",
"name": "outside_temp_humd",
"sw_version": "1.15.3 (Dec 16 2020, 15:18:17)",
"entry_type": null,
"id": "207200b764c24bb2ac697f37d7c8b4e2",
"via_device_id": null,
"area_id": null,
"name_by_user": null,
"disabled_by": null
},
{ {
"config_entries": [ "config_entries": [
"b7c6f2ecbb0d48ce83a92d218b4e129c" "b7c6f2ecbb0d48ce83a92d218b4e129c"
@ -178,6 +134,50 @@
"area_id": null, "area_id": null,
"name_by_user": null, "name_by_user": null,
"disabled_by": null "disabled_by": null
},
{
"config_entries": [
"e3331a90c176db53203e617de248ec9e"
],
"connections": [],
"identifiers": [
[
"mobile_app",
"61f299924dae5227"
]
],
"manufacturer": "LENOVO",
"model": "Lenovo TB-X606F",
"name": "Lenovo TB-X606F",
"sw_version": "29",
"entry_type": null,
"id": "156bac68252bf0e9b52c41c992b92676",
"via_device_id": null,
"area_id": null,
"name_by_user": null,
"disabled_by": null
},
{
"config_entries": [
"af77dd99c573b3a23fc24b2f1054b90c"
],
"connections": [
[
"mac",
"84:f3:eb:3b:84:92"
]
],
"identifiers": [],
"manufacturer": "Tasmota",
"model": "Generic",
"name": "Tasmota",
"sw_version": "9.2.0",
"entry_type": null,
"id": "96f92e495500e6b51b8afbfe8544eb9a",
"via_device_id": null,
"area_id": null,
"name_by_user": null,
"disabled_by": null
} }
], ],
"deleted_devices": [] "deleted_devices": []

View File

@ -258,23 +258,6 @@
"original_name": "700T1C", "original_name": "700T1C",
"original_icon": null "original_icon": null
}, },
{
"entity_id": "sensor.outside_temperature_2",
"config_entry_id": "f2587c6a3ce34da5a1209b077a39d931",
"device_id": "93560a2f0c64414e8c1a69dbbf3bf97f",
"area_id": null,
"unique_id": "ESPsensoroutside_temperature",
"platform": "mqtt",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "\u00b0C",
"original_name": "Outside Temperature",
"original_icon": "mdi:thermometer"
},
{ {
"entity_id": "sensor.outside_humidity_2", "entity_id": "sensor.outside_humidity_2",
"config_entry_id": "f2587c6a3ce34da5a1209b077a39d931", "config_entry_id": "f2587c6a3ce34da5a1209b077a39d931",
@ -292,74 +275,6 @@
"original_name": "Outside Humidity", "original_name": "Outside Humidity",
"original_icon": "mdi:water-percent" "original_icon": "mdi:water-percent"
}, },
{
"entity_id": "sensor.inside_temperature",
"config_entry_id": "9436e71647e64581a19a2cc8172f9a35",
"device_id": "1883f8cbd6b548b992e9a1974008f81f",
"area_id": null,
"unique_id": "inside_temp_humdsensorinside_temperature",
"platform": "esphome",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "\u00b0C",
"original_name": "Inside Temperature",
"original_icon": "mdi:thermometer"
},
{
"entity_id": "sensor.inside_humidity",
"config_entry_id": "9436e71647e64581a19a2cc8172f9a35",
"device_id": "1883f8cbd6b548b992e9a1974008f81f",
"area_id": null,
"unique_id": "inside_temp_humdsensorinside_humidity",
"platform": "esphome",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "%",
"original_name": "Inside Humidity",
"original_icon": "mdi:water-percent"
},
{
"entity_id": "sensor.outside_temperature",
"config_entry_id": "cf5266d3fa4a4824850935818193ac48",
"device_id": "207200b764c24bb2ac697f37d7c8b4e2",
"area_id": null,
"unique_id": "outside_temp_humdsensoroutside_temperature",
"platform": "esphome",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "\u00b0C",
"original_name": "Outside Temperature",
"original_icon": "mdi:thermometer"
},
{
"entity_id": "sensor.outside_humidity",
"config_entry_id": "cf5266d3fa4a4824850935818193ac48",
"device_id": "207200b764c24bb2ac697f37d7c8b4e2",
"area_id": null,
"unique_id": "outside_temp_humdsensoroutside_humidity",
"platform": "esphome",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "%",
"original_name": "Outside Humidity",
"original_icon": "mdi:water-percent"
},
{ {
"entity_id": "sensor.700t1c_battery_level", "entity_id": "sensor.700t1c_battery_level",
"config_entry_id": "2872c3dbbf1246c2b7aab8c616984183", "config_entry_id": "2872c3dbbf1246c2b7aab8c616984183",
@ -1770,6 +1685,329 @@
"unit_of_measurement": "pending update(s)", "unit_of_measurement": "pending update(s)",
"original_name": "hacs", "original_name": "hacs",
"original_icon": "hacs:hacs" "original_icon": "hacs:hacs"
},
{
"entity_id": "device_tracker.lenovo_tb_x606f",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "61f299924dae5227",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Lenovo TB-X606F",
"original_icon": null
},
{
"entity_id": "sensor.lenovo_tb_x606f_battery_level",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_level",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": "battery",
"unit_of_measurement": "%",
"original_name": "Lenovo TB-X606F Battery Level",
"original_icon": "mdi:battery-40"
},
{
"entity_id": "sensor.lenovo_tb_x606f_battery_state",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_state",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Lenovo TB-X606F Battery State",
"original_icon": "mdi:battery-minus"
},
{
"entity_id": "binary_sensor.lenovo_tb_x606f_is_charging",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_is_charging",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": "plug",
"unit_of_measurement": null,
"original_name": "Lenovo TB-X606F Is Charging",
"original_icon": "mdi:power-plug-off"
},
{
"entity_id": "sensor.lenovo_tb_x606f_charger_type",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_charger_type",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Lenovo TB-X606F Charger Type",
"original_icon": "mdi:power-plug"
},
{
"entity_id": "sensor.lenovo_tb_x606f_battery_health",
"config_entry_id": "e3331a90c176db53203e617de248ec9e",
"device_id": "156bac68252bf0e9b52c41c992b92676",
"area_id": null,
"unique_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_health",
"platform": "mobile_app",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Lenovo TB-X606F Battery Health",
"original_icon": "mdi:battery-heart-variant"
},
{
"entity_id": "input_number.stone_room_min_temp",
"config_entry_id": null,
"device_id": null,
"area_id": null,
"unique_id": "stone_room_min_temp",
"platform": "input_number",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": {},
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Stone Room Minimum Set Temperature",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_ip",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_ip",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Tasmota IP",
"original_icon": "mdi:ip-network"
},
{
"entity_id": "sensor.tasmota_last_restart_time",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_last_restart_time",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": "timestamp",
"unit_of_measurement": null,
"original_name": "Tasmota Last Restart Time",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_wifi_connect_count",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_link_count",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Tasmota WiFi Connect Count",
"original_icon": "mdi:counter"
},
{
"entity_id": "sensor.tasmota_mqtt_connect_count",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_mqtt_count",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Tasmota MQTT Connect Count",
"original_icon": "mdi:counter"
},
{
"entity_id": "sensor.tasmota_restart_reason",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_restart_reason",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Tasmota Restart Reason",
"original_icon": "mdi:information-outline"
},
{
"entity_id": "sensor.tasmota_rssi",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_rssi",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "%",
"original_name": "Tasmota RSSI",
"original_icon": "mdi:access-point"
},
{
"entity_id": "sensor.tasmota_signal",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_signal",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": "signal_strength",
"unit_of_measurement": "dB",
"original_name": "Tasmota Signal",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_ssid",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_status_sensor_status_sensor_status_ssid",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": "integration",
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "Tasmota SSID",
"original_icon": "mdi:access-point-network"
},
{
"entity_id": "switch.wemosstoneroom",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_switch_relay_0",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": null,
"original_name": "wemosstoneroom",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_dht12_temperature",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_sensor_sensor_DHT12_Temperature",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": "temperature",
"unit_of_measurement": "\u00b0C",
"original_name": "Tasmota DHT12 Temperature",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_dht12_humidity",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_sensor_sensor_DHT12_Humidity",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": "humidity",
"unit_of_measurement": "%",
"original_name": "Tasmota DHT12 Humidity",
"original_icon": null
},
{
"entity_id": "sensor.tasmota_dht12_dewpoint",
"config_entry_id": "af77dd99c573b3a23fc24b2f1054b90c",
"device_id": "96f92e495500e6b51b8afbfe8544eb9a",
"area_id": null,
"unique_id": "84F3EB3B8492_sensor_sensor_DHT12_DewPoint",
"platform": "tasmota",
"name": null,
"icon": null,
"disabled_by": null,
"capabilities": null,
"supported_features": 0,
"device_class": null,
"unit_of_measurement": "\u00b0C",
"original_name": "Tasmota DHT12 DewPoint",
"original_icon": "mdi:weather-rainy"
} }
] ]
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
{ {
"version": 1,
"key": "frontend.user_data_99685dc45d9f40dc8183e11ce5128038",
"data": { "data": {
"core": { "core": {
"showAdvanced": true "showAdvanced": true
} }
}, }
"key": "frontend.user_data_99685dc45d9f40dc8183e11ce5128038",
"version": 1
} }

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
"description": "\u2747\ufe0f Lovelace button-card for home assistant", "description": "\u2747\ufe0f Lovelace button-card for home assistant",
"domain": "", "domain": "",
"domains": [], "domains": [],
"downloads": 8437, "downloads": 4476,
"file_name": "button-card.js", "file_name": "button-card.js",
"filename": "button-card.js", "filename": "button-card.js",
"first_install": false, "first_install": false,
@ -25,28 +25,28 @@
"id": "146194325", "id": "146194325",
"iot_class": null, "iot_class": null,
"installed": true, "installed": true,
"installed_commit": "b5de991", "installed_commit": "f845d07",
"installed_version": "3.4.0", "installed_version": "3.4.1",
"open_issues": 29, "open_issues": 26,
"last_commit": "b5de991", "last_commit": "f845d07",
"last_version": "3.4.0", "last_version": "3.4.1",
"last_updated": "2020-12-12T13:11:23Z", "last_updated": "2020-12-27T14:28:54Z",
"manifest_name": null, "manifest_name": null,
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-12-12T13:11:23", "pushed_at": "2020-12-27T14:28:54",
"releases": true, "releases": true,
"render_readme": true, "render_readme": true,
"published_tags": [ "published_tags": [
"3.4.1",
"3.4.0", "3.4.0",
"3.3.6", "3.3.6",
"3.3.5", "3.3.5",
"3.3.4", "3.3.4"
"3.3.3"
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 588, "stargazers_count": 603,
"topics": [ "topics": [
"home-assistant", "home-assistant",
"home-assistant-custom", "home-assistant-custom",

View File

@ -27,7 +27,7 @@
"installed": true, "installed": true,
"installed_commit": "01b4108", "installed_commit": "01b4108",
"installed_version": "19", "installed_version": "19",
"open_issues": 16, "open_issues": 17,
"last_commit": "01b4108", "last_commit": "01b4108",
"last_version": "19", "last_version": "19",
"last_updated": "2020-12-12T00:49:44Z", "last_updated": "2020-12-12T00:49:44Z",
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 191, "stargazers_count": 199,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 249, "stargazers_count": 252,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -27,14 +27,14 @@
"installed": true, "installed": true,
"installed_commit": "f17fcc1", "installed_commit": "f17fcc1",
"installed_version": "1.7.0", "installed_version": "1.7.0",
"open_issues": 28, "open_issues": 30,
"last_commit": "f17fcc1", "last_commit": "f17fcc1",
"last_version": "1.7.0", "last_version": "1.7.0",
"last_updated": "2020-12-12T00:43:09Z", "last_updated": "2020-12-21T06:37:39Z",
"manifest_name": null, "manifest_name": null,
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-12-12T00:43:09", "pushed_at": "2020-12-21T06:37:39",
"releases": true, "releases": true,
"render_readme": true, "render_readme": true,
"published_tags": [ "published_tags": [
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 328, "stargazers_count": 336,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -14,7 +14,7 @@
"description": "HACS gives you a powerful UI to handle downloads of all your custom needs.", "description": "HACS gives you a powerful UI to handle downloads of all your custom needs.",
"domain": "hacs", "domain": "hacs",
"domains": [], "domains": [],
"downloads": 9001, "downloads": 31175,
"file_name": "", "file_name": "",
"filename": "hacs.zip", "filename": "hacs.zip",
"first_install": false, "first_install": false,
@ -30,13 +30,13 @@
"installed_commit": "275d6cc", "installed_commit": "275d6cc",
"installed_version": "1.9.0", "installed_version": "1.9.0",
"open_issues": 36, "open_issues": 36,
"last_commit": "275d6cc", "last_commit": "1906838",
"last_version": "1.9.0", "last_version": "1.9.0",
"last_updated": "2020-12-17T07:08:42Z", "last_updated": "2021-01-01T02:28:03Z",
"manifest_name": "HACS", "manifest_name": "HACS",
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-12-17T07:08:42", "pushed_at": "2021-01-01T02:28:03",
"releases": true, "releases": true,
"render_readme": false, "render_readme": false,
"published_tags": [ "published_tags": [
@ -48,7 +48,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 1431, "stargazers_count": 1462,
"topics": [ "topics": [
"community", "community",
"hacktoberfest", "hacktoberfest",

View File

@ -27,14 +27,14 @@
"installed": true, "installed": true,
"installed_commit": "457cf40", "installed_commit": "457cf40",
"installed_version": "2.0.3", "installed_version": "2.0.3",
"open_issues": 20, "open_issues": 23,
"last_commit": "457cf40", "last_commit": "457cf40",
"last_version": "2.0.3", "last_version": "2.0.3",
"last_updated": "2020-12-12T00:50:44Z", "last_updated": "2020-12-21T03:24:59Z",
"manifest_name": null, "manifest_name": null,
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-12-12T00:50:44", "pushed_at": "2020-12-21T03:24:59",
"releases": true, "releases": true,
"render_readme": false, "render_readme": false,
"published_tags": [ "published_tags": [
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 215, "stargazers_count": 221,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -27,14 +27,14 @@
"installed": true, "installed": true,
"installed_commit": "37e731b", "installed_commit": "37e731b",
"installed_version": "1.2.3", "installed_version": "1.2.3",
"open_issues": 21, "open_issues": 23,
"last_commit": "37e731b", "last_commit": "37e731b",
"last_version": "1.2.3", "last_version": "1.2.3",
"last_updated": "2020-12-12T00:50:38Z", "last_updated": "2020-12-27T20:59:24Z",
"manifest_name": "Browser mod", "manifest_name": "Browser mod",
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-12-12T00:50:38", "pushed_at": "2020-12-27T20:59:24",
"releases": true, "releases": true,
"render_readme": false, "render_readme": false,
"published_tags": [ "published_tags": [
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 314, "stargazers_count": 323,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 71, "stargazers_count": 73,
"topics": [], "topics": [],
"zip_release": false "zip_release": false
} }

View File

@ -27,7 +27,7 @@
"installed": true, "installed": true,
"installed_commit": "3ed0a8f", "installed_commit": "3ed0a8f",
"installed_version": "v0.2.2", "installed_version": "v0.2.2",
"open_issues": 5, "open_issues": 6,
"last_commit": "3ed0a8f", "last_commit": "3ed0a8f",
"last_version": "v0.2.2", "last_version": "v0.2.2",
"last_updated": "2020-10-31T13:26:16Z", "last_updated": "2020-10-31T13:26:16Z",
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 53, "stargazers_count": 55,
"topics": [ "topics": [
"custom", "custom",
"hacktoberfest", "hacktoberfest",

View File

@ -12,7 +12,7 @@
"description": "\ud83d\udd70\ufe0f Time Picker Card for Home Assistant's Lovelace UI", "description": "\ud83d\udd70\ufe0f Time Picker Card for Home Assistant's Lovelace UI",
"domain": "", "domain": "",
"domains": [], "domains": [],
"downloads": 1142, "downloads": 1372,
"file_name": "time-picker-card.js", "file_name": "time-picker-card.js",
"filename": "time-picker-card.js", "filename": "time-picker-card.js",
"first_install": false, "first_install": false,
@ -27,7 +27,7 @@
"installed": true, "installed": true,
"installed_commit": "c3fa2ce", "installed_commit": "c3fa2ce",
"installed_version": "1.1.1", "installed_version": "1.1.1",
"open_issues": 2, "open_issues": 3,
"last_commit": "c3fa2ce", "last_commit": "c3fa2ce",
"last_version": "1.1.1", "last_version": "1.1.1",
"last_updated": "2020-11-22T14:38:10Z", "last_updated": "2020-11-22T14:38:10Z",
@ -46,7 +46,7 @@
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 44, "stargazers_count": 45,
"topics": [ "topics": [
"home-assistant", "home-assistant",
"homeassistant", "homeassistant",

View File

@ -12,7 +12,7 @@
"description": "\ud83d\ude48 Hides the Home Assistant header and/or sidebar", "description": "\ud83d\ude48 Hides the Home Assistant header and/or sidebar",
"domain": "", "domain": "",
"domains": [], "domains": [],
"downloads": 3267, "downloads": 456,
"file_name": "kiosk-mode.js", "file_name": "kiosk-mode.js",
"filename": "", "filename": "",
"first_install": false, "first_install": false,
@ -27,26 +27,26 @@
"installed": true, "installed": true,
"installed_commit": "78b95f3", "installed_commit": "78b95f3",
"installed_version": "1.4.7", "installed_version": "1.4.7",
"open_issues": 4, "open_issues": 2,
"last_commit": "78b95f3", "last_commit": "c7c4161",
"last_version": "1.4.7", "last_version": "1.4.9",
"last_updated": "2020-11-19T12:46:12Z", "last_updated": "2020-12-31T20:44:08Z",
"manifest_name": null, "manifest_name": null,
"new": false, "new": false,
"persistent_directory": null, "persistent_directory": null,
"pushed_at": "2020-11-19T12:46:12", "pushed_at": "2020-12-31T20:44:08",
"releases": true, "releases": true,
"render_readme": true, "render_readme": true,
"published_tags": [ "published_tags": [
"1.4.9",
"1.4.8",
"1.4.7", "1.4.7",
"1.4.5", "1.4.5",
"1.4.4", "1.4.4"
"1.4.3",
"1.4.2"
], ],
"selected_tag": null, "selected_tag": null,
"show_beta": false, "show_beta": false,
"stargazers_count": 51, "stargazers_count": 59,
"topics": [ "topics": [
"home-assistant", "home-assistant",
"kiosk", "kiosk",

View File

@ -0,0 +1,54 @@
{
"version": "6",
"key": "hacs/304967918.hacs",
"data": {
"archived": false,
"authors": [],
"category": "plugin",
"content_in_root": false,
"country": [],
"config_flow": false,
"default_branch": "main",
"description": "Replace input_number sliders with plus and minus buttons",
"domain": "",
"domains": [],
"downloads": 0,
"file_name": "numberbox-card.js",
"filename": "numberbox-card.js",
"first_install": false,
"fork": false,
"full_name": "htmltiger/numberbox-card",
"hacs": null,
"hide": false,
"hide_default_branch": false,
"homeassistant": null,
"id": "304967918",
"iot_class": null,
"installed": true,
"installed_commit": "eb9ed39",
"installed_version": null,
"open_issues": 3,
"last_commit": "eb9ed39",
"last_version": null,
"last_updated": "2020-12-25T15:24:09Z",
"manifest_name": null,
"new": false,
"persistent_directory": null,
"pushed_at": "2020-12-25T15:24:09",
"releases": false,
"render_readme": true,
"published_tags": [],
"selected_tag": null,
"show_beta": false,
"stargazers_count": 7,
"topics": [
"hacs",
"input",
"lovelace",
"number",
"numberbox-card",
"slider"
],
"zip_release": false
}
}

View File

@ -1,7 +1,7 @@
{ {
"data": { "version": 1,
"hassio_user": "5dc5beb72dbc49d59080804cea6f026c"
},
"key": "hassio", "key": "hassio",
"version": 1 "data": {
"hassio_user": "66bf1f45db524de88f93b2b50fb0584f"
}
} }

View File

@ -3,11 +3,11 @@
"key": "http", "key": "http",
"data": { "data": {
"ip_ban_enabled": true, "ip_ban_enabled": true,
"ssl_profile": "modern",
"login_attempts_threshold": -1,
"cors_allowed_origins": [ "cors_allowed_origins": [
"https://cast.home-assistant.io" "https://cast.home-assistant.io"
], ],
"login_attempts_threshold": -1,
"ssl_profile": "modern",
"server_port": 8123 "server_port": 8123
} }
} }

View File

@ -66,6 +66,25 @@
"action": "toggle" "action": "toggle"
}, },
"entity": "switch.outside_north_circuit_1" "entity": "switch.outside_north_circuit_1"
},
{
"type": "custom:button-card",
"entity": "sensor.sensor1",
"layout": "icon_state_name2nd",
"show_state": true,
"show_name": true,
"show_label": true,
"label": "label",
"styles": {
"grid": [
{
"grid-template-areas": "\"n i\" \"s i\" \"l i\""
},
{
"grid-template-columns": "1fr 40%"
}
]
}
} }
] ]
}, },
@ -94,6 +113,52 @@
] ]
} }
] ]
},
{
"title": "Stone Room",
"path": "stone-room",
"badges": [],
"cards": [
{
"type": "entities",
"entities": [
{
"entity": "input_number.stone_room_min_temp",
"type": "custom:numberbox-card",
"icon_plus": "mdi:chevron-up",
"icon_minus": "mdi:chevron-down"
},
{
"entity": "sensor.stone_room_humidity"
},
{
"entity": "sensor.stone_room_dew_point_temperature"
}
],
"title": "Stone Room Climate",
"show_header_toggle": false,
"state_color": true
},
{
"type": "custom:button-card",
"entity": "switch.stone_room_heating",
"layout": "icon_state_name2nd",
"show_state": true,
"show_name": true,
"show_label": false,
"label": "Stone Room Heating",
"styles": {
"grid": [
{
"grid-template-areas": "\"n i\" \"s i\" \"l i\""
},
{
"grid-template-columns": "1fr 50%"
}
]
}
}
]
} }
] ]
} }

View File

@ -62,7 +62,7 @@
{ {
"entity": "sensor.bme_outside_temperature", "entity": "sensor.bme_outside_temperature",
"icon": "mdi:temperature-fahrenheit", "icon": "mdi:temperature-fahrenheit",
"name": "Outside Temperature", "name": "Temperature",
"secondary_info": "last-changed" "secondary_info": "last-changed"
}, },
{ {
@ -90,7 +90,7 @@
{ {
"entity": "sensor.bme_inside_temperature", "entity": "sensor.bme_inside_temperature",
"icon": "mdi:temperature-fahrenheit", "icon": "mdi:temperature-fahrenheit",
"name": "Outside Temperature", "name": "Temperature",
"secondary_info": "last-changed" "secondary_info": "last-changed"
}, },
{ {

View File

@ -4,19 +4,24 @@
"data": { "data": {
"items": [ "items": [
{ {
"url": "/hacsfiles/button-card/button-card.js", "url": "/hacsfiles/lovelace-darksky-card/lovelace-darksky-card.js",
"type": "module", "type": "module",
"id": "2e6bc398cf194600a54c288f0f39df30" "id": "6416a427f43744cd978769f251f65c65"
}, },
{ {
"url": "/hacsfiles/lovelace-time-picker-card/time-picker-card.js", "url": "/hacsfiles/lovelace-time-picker-card/time-picker-card.js",
"type": "module", "type": "module",
"id": "320b29e23fa841389e7f288518351f20" "id": "09f02a5b58e44a109101336c0ab108d8"
}, },
{ {
"url": "/hacsfiles/lovelace-darksky-card/lovelace-darksky-card.js", "url": "/hacsfiles/button-card/button-card.js",
"type": "module", "type": "module",
"id": "1b05f5d79aba4d86876333158b04a3c9" "id": "ba86464d168d480ab03e8b66c8a1944c"
},
{
"url": "/hacsfiles/numberbox-card/numberbox-card.js",
"type": "module",
"id": "c0db2892f4274ea682c691228787d8f5"
} }
] ]
} }

View File

@ -7,12 +7,23 @@
"added": true, "added": true,
"attributes": {}, "attributes": {},
"device_class": "plug", "device_class": "plug",
"icon": "mdi:power-plug", "icon": "mdi:power-plug-off",
"name": "Is Charging", "name": "Is Charging",
"state": true, "state": false,
"type": "binary_sensor", "type": "binary_sensor",
"unique_id": "is_charging", "unique_id": "is_charging",
"webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4" "webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4"
},
"dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_is_charging": {
"unique_id": "is_charging",
"state": false,
"type": "binary_sensor",
"icon": "mdi:power-plug-off",
"attributes": {},
"name": "Is Charging",
"device_class": "plug",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"added": true
} }
}, },
"deleted_ids": [ "deleted_ids": [
@ -153,7 +164,7 @@
"ip_address": "10.0.0.203", "ip_address": "10.0.0.203",
"link_speed": 72, "link_speed": 72,
"is_hidden": false, "is_hidden": false,
"frequency": 2412, "frequency": 2462,
"signal_level": -1 "signal_level": -1
}, },
"icon": "mdi:wifi-strength-off", "icon": "mdi:wifi-strength-off",
@ -197,9 +208,9 @@
"added": true, "added": true,
"attributes": {}, "attributes": {},
"device_class": "battery", "device_class": "battery",
"icon": "mdi:battery", "icon": "mdi:battery-90",
"name": "Battery Level", "name": "Battery Level",
"state": 100, "state": 97,
"type": "sensor", "type": "sensor",
"unique_id": "battery_level", "unique_id": "battery_level",
"unit_of_measurement": "%", "unit_of_measurement": "%",
@ -209,9 +220,9 @@
"added": true, "added": true,
"attributes": {}, "attributes": {},
"device_class": "battery", "device_class": "battery",
"icon": "mdi:battery-charging", "icon": "mdi:battery-unknown",
"name": "Battery State", "name": "Battery State",
"state": "full", "state": "unknown",
"type": "sensor", "type": "sensor",
"unique_id": "battery_state", "unique_id": "battery_state",
"webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4" "webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4"
@ -273,13 +284,13 @@
"972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4_last_reboot": { "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4_last_reboot": {
"added": true, "added": true,
"attributes": { "attributes": {
"Local Time": "Wed Dec 09 15:27:19 PST 2020", "Local Time": "Wed Dec 30 20:26:18 PST 2020",
"Time in Milliseconds": 1607556439220 "Time in Milliseconds": 1609388778991
}, },
"device_class": "timestamp", "device_class": "timestamp",
"icon": "mdi:restart", "icon": "mdi:restart",
"name": "Last Reboot", "name": "Last Reboot",
"state": "2020-12-09T23:27:19Z", "state": "2020-12-31T04:26:18Z",
"type": "sensor", "type": "sensor",
"unique_id": "last_reboot", "unique_id": "last_reboot",
"webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4" "webhook_id": "972369ddfba8b95dfc4b3ab68f74f19e19227919102c4720d1fc38d9fd45a0b4"
@ -290,7 +301,7 @@
"device_class": "illuminance", "device_class": "illuminance",
"icon": "mdi:brightness-5", "icon": "mdi:brightness-5",
"name": "Light Sensor", "name": "Light Sensor",
"state": "81", "state": "114",
"type": "sensor", "type": "sensor",
"unique_id": "light_sensor", "unique_id": "light_sensor",
"unit_of_measurement": "lx", "unit_of_measurement": "lx",
@ -524,6 +535,48 @@
"type": "sensor", "type": "sensor",
"unique_id": "wifi_connection", "unique_id": "wifi_connection",
"webhook_id": "e689e9489fb188efebd2131925467e20069b7725bbd125ef8f8765986e124d0f" "webhook_id": "e689e9489fb188efebd2131925467e20069b7725bbd125ef8f8765986e124d0f"
},
"dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_level": {
"unique_id": "battery_level",
"state": 46,
"type": "sensor",
"icon": "mdi:battery-40",
"attributes": {},
"name": "Battery Level",
"device_class": "battery",
"unit_of_measurement": "%",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"added": true
},
"dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_state": {
"unique_id": "battery_state",
"state": "discharging",
"type": "sensor",
"icon": "mdi:battery-minus",
"attributes": {},
"name": "Battery State",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"added": true
},
"dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_charger_type": {
"unique_id": "charger_type",
"state": "ac",
"type": "sensor",
"icon": "mdi:power-plug",
"attributes": {},
"name": "Charger Type",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"added": true
},
"dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573_battery_health": {
"unique_id": "battery_health",
"state": "good",
"type": "sensor",
"icon": "mdi:battery-heart-variant",
"attributes": {},
"name": "Battery Health",
"webhook_id": "dccd13d57c9e6da9b4ec0933cd84df31c2fe381961b578a52829ed31c4949573",
"added": true
} }
} }
} }

View File

@ -1,4 +1,6 @@
{ {
"version": 2,
"key": "person",
"data": { "data": {
"items": [ "items": [
{ {
@ -6,14 +8,13 @@
"device_tracker.700t1c", "device_tracker.700t1c",
"device_tracker.sm_g935r4", "device_tracker.sm_g935r4",
"device_tracker.xt1064_2", "device_tracker.xt1064_2",
"device_tracker.lgus215" "device_tracker.lgus215",
"device_tracker.lenovo_tb_x606f"
], ],
"id": "sysadmin", "id": "sysadmin",
"name": "sysadmin", "name": "sysadmin",
"user_id": "99685dc45d9f40dc8183e11ce5128038" "user_id": "99685dc45d9f40dc8183e11ce5128038"
} }
] ]
}, }
"key": "person",
"version": 2
} }

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"files.associations": {
"*.yaml": "home-assistant"
}
}

View File

@ -42,6 +42,6 @@ frontend:
# lovelace_gen: # lovelace_gen:
lovelace: lovelace:
mode: storage # mode: storage
# load additional yaml mode dashboards # load additional yaml mode dashboards
dashboards: !include lovelace/dashboards.yaml # dashboards: !include dashboards/config.yaml

View File

@ -1,3 +1,4 @@
# there are manually created (yaml mode) dashboards
lovelace-panel: lovelace-panel:
mode: yaml mode: yaml
title: Manual - Panel title: Manual - Panel

View File

@ -1,7 +1,7 @@
input_datetime: input_datetime:
security_lights_interior_time_off: security_lights_interior_time_off:
has_time: true has_time: true
initial: '22:30' # initial: '22:30'
# #
# security_lights_interior_on_offset: # security_lights_interior_on_offset:

View File

@ -12,22 +12,22 @@ sensor:
state_topic: "temp/inside/SENSOR" state_topic: "temp/inside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "F" unit_of_measurement: "F"
value_template: "{{ value_json.BME280.Temperature * 9 / 5 + 32 }}" value_template: "{{ value_json.BME280.Temperature * 9 / 5 + 32 | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_inside_dew_point_temperature" name: "bme_inside_dew_point_temperature"
state_topic: "temp/inside/SENSOR" state_topic: "temp/inside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "F" unit_of_measurement: "F"
value_template: "{{ value_json.BME280.DewPoint * 9 / 5 + 32 }}" value_template: "{{ value_json.BME280.DewPoint * 9 / 5 + 32 | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_inside_humidity" name: "bme_inside_humidity"
state_topic: "temp/inside/SENSOR" state_topic: "temp/inside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value_json.BME280.Humidity }}" value_template: "{{ value_json.BME280.Humidity | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_inside_barometric_pressure" name: "bme_inside_barometric_pressure"
state_topic: "temp/inside/SENSOR" state_topic: "temp/inside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "inHg" unit_of_measurement: "inHg"
value_template: "{{ value_json.BME280.Pressure / 33.86 }}" value_template: "{{ value_json.BME280.Pressure / 33.86 | round(2) }}"

View File

@ -12,25 +12,25 @@ sensor:
state_topic: "tele/outside/SENSOR" state_topic: "tele/outside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "F" unit_of_measurement: "F"
value_template: "{{ value_json.BME280.Temperature * 9 / 5 + 32 }}" value_template: "{{ value_json.BME280.Temperature * 9 / 5 + 32 | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_outside_dew_point_temperature" name: "bme_outside_dew_point_temperature"
state_topic: "tele/outside/SENSOR" state_topic: "tele/outside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "F" unit_of_measurement: "F"
value_template: "{{ value_json.BME280.DewPoint * 9 / 5 + 32 }}" value_template: "{{ value_json.BME280.DewPoint * 9 / 5 + 32 | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_outside_humidity" name: "bme_outside_humidity"
state_topic: "tele/outside/SENSOR" state_topic: "tele/outside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value_json.BME280.Humidity }}" value_template: "{{ value_json.BME280.Humidity | round(1) }}"
- platform: mqtt - platform: mqtt
name: "bme_outside_barometric_pressure" name: "bme_outside_barometric_pressure"
state_topic: "tele/outside/SENSOR" state_topic: "tele/outside/SENSOR"
qos: 0 qos: 0
unit_of_measurement: "inHg" unit_of_measurement: "inHg"
value_template: "{{ value_json.BME280.Pressure / 33.86 }}" value_template: "{{ value_json.BME280.Pressure / 33.86 | round(2) }}"
switch: switch:
- platform: mqtt - platform: mqtt

109
packages/stone_room.yaml Normal file
View File

@ -0,0 +1,109 @@
# {"Time":"2020-12-08T02:09:02","BME280":{"Temperature":21.5,"Humidity":39.1,"DewPoint":6.9,"Pressure":906.5},"PressureUnit":"hPa","TempUnit":"C"}
homeassistant:
customize:
sensor.stone_room_temperature:
friendly_name: 'Stone Room Temperature'
sensor.stone_room_dew_point_temperature:
friendly_name: 'Stone Room Dew Point Temperature'
sensor.stone_room_humidity:
friendly_name: 'Stone Room Humidity'
# input_number.stone_room_min_temp:
# friendly_name: 'Stone Room Minimum Set Temperature'
input_number:
stone_room_min_temp:
name: 'Stone Room Minimum Set Temperature'
min: 34
max: 50
step: 1
mode: 'box'
sensor:
- platform: mqtt
name: "stone_room_temperature"
state_topic: "tele/stone/SENSOR"
qos: 0
unit_of_measurement: "F"
value_template: "{{ '%.1f'%(value_json.DHT12.Temperature * 9 / 5 + 32 | float) }}"
- platform: mqtt
name: "stone_room_dew_point_temperature"
state_topic: "tele/stone/SENSOR"
qos: 0
unit_of_measurement: "F"
value_template: "{{ '%.1f'%(value_json.DHT12.DewPoint * 9 / 5 + 32 | float) }}"
- platform: mqtt
name: "stone_room_humidity"
state_topic: "tele/stone/SENSOR"
qos: 0
unit_of_measurement: "%"
value_template: "{{ '%.1f'%(value_json.DHT12.Humidity | float) }}"
switch:
- platform: mqtt
name: "Stone Room Heating"
state_topic: "stat/stone/POWER1"
command_topic: "cmnd/stone/POWER1"
availability_topic: "tele/stone/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: false
automation:
- id: stone_room_heater_on
trigger:
platform: state
entity_id: sensor.stone_room_temperature
below: "{{ states('input_number.stone_room_min_temp') | int }}"
for:
minutes: 5
action:
- service: switch.turn_on
entity_id: switch.stone_room_heating
- service: notify.pushsafer
data:
title: "Stone Room Heating On"
message: "Stone Room Heater Has Turned on"
target: ["26583"]
data:
icon: "20"
iconcolor: "#FF00FF"
sound: "33"
vibration: "0"
url: "https://ha.238.kebler.net/"
urltitle: "Open Home Assistant"
time2live: "10"
priority: "2"
retry: "60"
expire: "600"
answer: "1"
- id: stone_room_heater_off
trigger:
platform: state
entity_id: sensor.stone_room_temperature
above: "{{ states('input_number.stone_room_min_temp') + 3 | int }}"
for:
minutes: 5
action:
- service: switch.turn_off
entity_id: switch.stone_room_heating
- service: notify.pushsafer
data:
title: "Stone Room Heating Off"
message: "Stone Room Heater Has Turned Off"
target: ["26583"]
data:
icon: "20"
iconcolor: "#FF00FF"
sound: "33"
vibration: "0"
url: "https://ha.238.kebler.net/"
urltitle: "Open Home Assistant"
time2live: "10"
priority: "2"
retry: "60"
expire: "600"
answer: "1"

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,240 @@
((LitElement) => {
console.info('NUMBERBOX_CARD 1.8');
const html = LitElement.prototype.html;
const css = LitElement.prototype.css;
class NumberBox extends LitElement {
constructor() {
super();
this.rolling = 0;
}
static get properties() {
return {
_hass: {},
config: {},
stateObj: {},
rolling: {},
}
}
static get styles() {
return css`
ha-card{
-webkit-font-smoothing:var(--paper-font-body1_-_-webkit-font-smoothing);
font-size:var(--paper-font-body1_-_font-size);
font-weight:var(--paper-font-body1_-_font-weight);
line-height:var(--paper-font-body1_-_line-height);
padding:4px 0}
ha-card.noborder{padding:0 !important;margin:0 !important;
box-shadow:none !important;border:none !important}
.body{
display:grid;grid-auto-flow:column;grid-auto-columns:1fr;
place-items:center;padding:0 4px;
padding-bottom:2px}
.main{display:flex;flex-direction:row;align-items:center;justify-content:center}
.cur-box{display:flex;align-items:center;justify-content:center;flex-direction:row-reverse}
.cur-num-box{display:flex;align-items:center}
.cur-num{
font-size:var(--paper-font-subhead_-_font-size);
line-height:var(--paper-font-subhead_-_line-height);
font-weight:normal;margin:0}
.cur-unit{font-size:80%;opacity:0.5}
.nopad{padding:0px}
.grid {
display: grid;
grid-template-columns: repeat(2, auto);
}
.grid-content {
display: grid;
}
.grid-left {
text-align: left;
font-size: var(--paper-font-body1_-_font-size);
padding: 16px 0 16px 16px;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
word-break: keep-all;
white-space: nowrap
}
.noborder .grid-left{padding-left:8px !important}
.grid-right .body{margin-left:auto}
.grid-right {
text-align: right;
padding-right: 10px;
}
.noborder .grid-right{padding-right:0 !important}
`;
}
shouldUpdate(changedProps) {
if (changedProps.has('stateObj')) {return true;}
}
render() {
if(!this.stateObj){return html`<ha-card>Missing:'${this.config.entity}'</ha-card>`;}
const vars={};
vars['icon_plus']=this.config.icon_plus ? this.config.icon_plus : 'mdi:plus';
vars['icon_minus']=this.config.icon_minus ? this.config.icon_minus : 'mdi:minus';
if( !this.config.border){
vars['border']='noborder';
}else{vars['border']='';}
if( this.config.icon === undefined && this.stateObj.attributes.icon ){
vars['icon']=this.stateObj.attributes.icon;
}else{
if(this.config.icon){
vars['icon']=this.config.icon;
}else{
vars['icon']=false;
}
}
if( this.config.unit === undefined && this.stateObj.attributes.unit_of_measurement ){
vars['unit']=this.stateObj.attributes.unit_of_measurement;
}else{
if(this.config.unit){
vars['unit']=this.config.unit;
}else{
vars['unit']=false;
}
}
if( this.config.name === undefined && this.stateObj.attributes.friendly_name ){
vars['name']=this.stateObj.attributes.friendly_name;
}else{
if(this.config.name){
vars['name']=this.config.name;
}else{
vars['name']=null;
}
}
return this.renderMain(vars);
}
renderMain(vars) {
let d=false;
if(vars.icon || vars.name){d=true;}
return html`
<ha-card class="${vars.border}">
${d ? html`<div class="grid">
<div class="grid-content grid-left" @click="${() => this.moreInfo('hass-more-info')}">
<div>
${vars.icon ? html`<ha-icon icon="${vars.icon}" style="margin-right:20px;color:var(--paper-item-icon-color);"></ha-icon>` : null }
${vars.name}
</div>
</div><div class="grid-content grid-right">${this.renderNum(vars)}</div></div>` : this.renderNum(vars) }
</ha-card>
`;
}
renderNum(vars){
return html`<section class="body">
<div class="main">
<div class="cur-box">
<ha-icon-button class="nopad" icon="${vars.icon_plus}"
@click="${() => this.incVal(this)}"
@mousedown="${() => this.onMouseDown(1)}"
@mouseup="${() => this.onMouseUp()}"
@touchstart="${() => this.onMouseDown(1)}"
@touchend="${() => this.onMouseUp()}"
>
</ha-icon-button>
<div class="cur-num-box" @click="${() => this.moreInfo('hass-more-info')}" >
<h3 class="cur-num" > ${this.niceNum(vars)} </h3>
</div>
<ha-icon-button class="nopad" icon="${vars.icon_minus}"
@click="${() => this.decVal(this)}"
@mousedown="${() => this.onMouseDown(0)}"
@mouseup="${() => this.onMouseUp()}"
@touchstart="${() => this.onMouseDown(0)}"
@touchend="${() => this.onMouseUp()}"
>
</ha-icon-button>
</div>
</div>
</section>`;
}
getCardSize() {
return 1;
}
setConfig(config) {
if (!config.entity) throw new Error('Please define an entity.');
if (config.entity.split('.')[0] !== 'input_number')
{throw new Error('Please define a input_number entity.');}
this.config = {
name: config.name,
entity: config.entity,
icon: config.icon,
border: config.border,
speed: config.speed,
unit: config.unit,
icon_plus: config.icon_plus,
icon_minus: config.icon_minus,
};
}
set hass(hass) {
if (hass && this.config) {
this.stateObj = this.config.entity in hass.states ? hass.states[this.config.entity] : null;
}
this._hass = hass;
}
callService(service, data = {entity_id: this.stateObj.entity_id}) {
const [domain, name] = service.split('.');
this._hass.callService(domain, name, data);
}
incVal(dhis){
dhis._hass.callService("input_number", 'increment', { entity_id: dhis.stateObj.entity_id });
}
decVal(dhis){
dhis._hass.callService("input_number", 'decrement', { entity_id: dhis.stateObj.entity_id });
}
niceNum(vars){
let fix=0;
const stp=Number(this.stateObj.attributes.step);
if( Math.round(stp) != stp ){ fix=stp.toString().split(".")[1].length || 1;}
fix = Number(this.stateObj.state).toFixed(fix);
return vars.unit ? html`${fix}<span class="cur-unit" >${vars.unit}</span>` : fix ;
}
moreInfo(type, options = {}) {
const e = new Event(type, {
bubbles: options.bubbles || true,
cancelable: options.cancelable || true,
composed: options.composed || true,
});
e.detail = {entityId: this.stateObj.entity_id};
this.dispatchEvent(e);
return e;
}
onMouseDown(v) {
if( this.config.speed === undefined ){ this.config.speed=0;}
if( this.config.speed > 0 ){
this.onMouseUp();
if(v){
this.rolling = setInterval(this.incVal, this.config.speed, this);
}else{
this.rolling = setInterval(this.decVal, this.config.speed, this);
}
}
}
onMouseUp() {
if( this.config.speed === undefined ){ this.config.speed=0;}
if( this.config.speed > 0 ){
clearInterval(this.rolling);
}
}
} customElements.define('numberbox-card', NumberBox);
})(window.LitElement || Object.getPrototypeOf(customElements.get("hui-masonry-view") || customElements.get("hui-view")));