From f9b6d49188b1da3301710fa62f6fea8d1bd0efd7 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 9 Feb 2022 19:01:37 -0500 Subject: [PATCH] Localtuya configs added --- configuration.yaml | 2 + localtuya.yaml | 108 +++++++++++++++++++++++++++++++++++++++++++++ readme.md | 1 + 3 files changed, 111 insertions(+) create mode 100644 localtuya.yaml diff --git a/configuration.yaml b/configuration.yaml index c0b7b28..d492534 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -110,3 +110,5 @@ spotcast: sp_key: !secret sp_key breaking_changes: + +localtuya: !include localtuya.yaml diff --git a/localtuya.yaml b/localtuya.yaml new file mode 100644 index 0000000..6b3882c --- /dev/null +++ b/localtuya.yaml @@ -0,0 +1,108 @@ +- host: 192.168.1.135 + device_id: !secret dining_room_blue_id + local_key: !secret dining_room_blue_key + friendly_name: Dining Room Lamp - Blue + protocol_version: "3.3" + entities: + - platform: light + friendly_name: Dining Room Lamp - Blue Bulb + id: 1 + brightness: 2 + brightness_lower: 29 + brightness_upper: 255 +- host: 192.168.1.136 + device_id: !secret dining_room_white_id + local_key: !secret dining_room_white_key + friendly_name: Dining Room Lamp - White + protocol_version: "3.3" + entities: + - platform: light + friendly_name: Dining Room Lamp - White Bulb + id: 1 + brightness: 2 + brightness_lower: 29 + brightness_upper: 255 +- host: 192.168.1.137 + device_id: !secret dining_room_green_id + local_key: !secret dining_room_green_key + friendly_name: Dining Room Lamp - Green + protocol_version: "3.3" + entities: + - platform: light + friendly_name: Dining Room Lamp - Green Bulp + id: 1 + brightness: 2 + brightness_lower: 29 + brightness_upper: 255 +- host: 192.168.1.138 + device_id: !secret dining_room_red_id + local_key: !secret dining_room_red_key + friendly_name: Dining Room Lamp - Red + protocol_version: "3.3" + entities: + - platform: light + friendly_name: Dining Room Lamp - Red Bulb + id: 1 + brightness: 2 + brightness_lower: 29 + brightness_upper: 255 +- host: 192.168.1.139 + device_id: !secret dining_room_purple_id + local_key: !secret dining_room_purple_key + friendly_name: Dining Room Lamp - Purple + protocol_version: "3.3" + entities: + - platform: light + friendly_name: Dining Room Lamp - Purple Bulb + id: 1 + brightness: 2 + brightness_lower: 29 + brightness_upper: 255 +- host: 192.168.1.52 + device_id: !secret master_bedroom_plug_1_id + local_key: !secret master_bedroom_plug_1_key + friendly_name: Master Bedroom Plug 1 + protocol_version: "3.3" + entities: + - platform: switch + friendly_name: Master Bedroom Plug 1 - Socket + id: 1 + current: 18 + current_consumption: 19 + voltage: 20 +- host: 192.168.1.51 + device_id: !secret kallen_plug_1_id + local_key: !secret kallen_plug_2_key + friendly_name: Kallen Bedroom Plug 1 + protocol_version: "3.3" + entities: + - platform: switch + friendly_name: Kallen Bedroom Plug 1 - Socket + id: 1 + current: 18 + current_consumption: 19 + voltage: 20 +- host: 192.168.1.54 + device_id: !secret dining_room_plug_1_id + local_key: !secret dining_room_plug_1_key + friendly_name: Dining Room Plug 1 + protocol_version: "3.3" + entities: + - platform: switch + friendly_name: Dining Room Plug 1 - Socket + id: 1 + current: 18 + current_consumption: 19 + voltage: 20 +- host: 192.168.1.53 + device_id: !secret basement_plug_1_id + local_key: !secret basement_plug_1_key + friendly_name: Basement Plug 1 + protocol_version: "3.3" + entities: + - platform: switch + friendly_name: Basement Plug 1 - Socket + id: 1 + current: 18 + current_consumption: 19 + voltage: 20 diff --git a/readme.md b/readme.md index 376072f..5224f44 100644 --- a/readme.md +++ b/readme.md @@ -18,6 +18,7 @@ # HACS Components - [Node-RED Companion](https://github.com/zachowj/hass-node-red) - [Holidays](https://github.com/bruxy70/Holidays) - [Twitch Helix](https://github.com/Radioh/ha_twitch_helix) +- [Local Tuya](https://github.com/rospogrigio/localtuya) # HACS Lovelace Cards Again, mostly just the ones I'm **using** or **will use soon**