Skip to content

Commit 9f75c3a

Browse files
committed
Added some scenes as well as code in a .txt file to get all entities
1 parent 56c6a99 commit 9f75c3a

10 files changed

+40
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ config/secrets.yaml
2929
config/zwcfg_*
3030
config/zwscene.xml
3131
config/plex.conf
32+
entities.txt
3233

3334
# Some other generic stuff
3435
.vscode

config/components/lights/ST_kids bedroom.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ state_topic: "smartthings/Kids Room/switch/state"
99
command_topic: "smartthings/Kids Room/switch/cmd"
1010
brightness_state_topic: "smartthings/Kids Room/level/state"
1111
brightness_command_topic: "smartthings/Kids Room/level/cmd"
12+
brightness_scale: 100
1213
payload_on: "on"
1314
payload_off: "off"
1415
retain: true

config/components/lights/ST_living room.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ state_topic: "smartthings/Living Room/switch/state"
99
command_topic: "smartthings/Living Room/switch/cmd"
1010
brightness_state_topic: "smartthings/Living Room/level/state"
1111
brightness_command_topic: "smartthingsLiving Room/level/cmd"
12+
brightness_scale: 100
1213
payload_on: "on"
1314
payload_off: "off"
1415
retain: true

config/components/lights/ST_master bedroom closet.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ state_topic: "smartthings/Master Bedroom Closet/switch/state"
99
command_topic: "smartthings/Master Bedroom Closet/switch/cmd"
1010
brightness_state_topic: "smartthings/Master Bedroom Closet/level/state"
1111
brightness_command_topic: "smartthings/Master Bedroom Closet/level/cmd"
12+
brightness_scale: 100
1213
payload_on: "on"
1314
payload_off: "off"
1415
retain: true

config/components/lights/ST_master bedroom.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ state_topic: "smartthings/Master Bedroom/switch/state"
99
command_topic: "smartthings/Master Bedroom/switch/cmd"
1010
brightness_state_topic: "smartthings/Master Bedroom/level/state"
1111
brightness_command_topic: "smartthings/Master Bedroom/level/cmd"
12+
brightness_scale: 100
1213
payload_on: "on"
1314
payload_off: "off"
1415
retain: true

config/components/packages/scene.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# This handles the loading of my scenes
3+
#
4+
# https://www.home-assistant.io/components/scene/
5+
#
6+
scene: !include_dir_list ../../scenes

config/components/tts/google.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ platform: google
1010
language: 'en'
1111

1212
# Cache voice files to a local storage.
13-
cache: true
13+
#cache: true
1414

1515
# Path to a location for caching the tts files.
16-
cache_dir: /tmp/tts
16+
#cache_dir: /tmp/tts
1717

1818
# Time to hold (in seconds) the voice data inside memory for fast play
1919
# on a media player. (min 60, max 57600)
20-
time_memory: 300
20+
#time_memory: 300

config/scenes/laying in bed.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
#
3+
# Scene to shut off the overhead light and turn on the side nightstand lights
4+
#
5+
name: Laying in Bed
6+
entities:
7+
light.master_bedroom:
8+
state: off
9+
switch.kedar_night_light:
10+
state: on
11+
switch.master_bedroom_lamp:
12+
state: on

config/scenes/movie mode on.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
#
3+
# Scene to shut off the overhead light and turn on the side nightstand lights
4+
#
5+
name: Movie Mode On
6+
entities:
7+
light.living_room:
8+
state: on
9+
brightness: 20

get all entities.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Put the below in the template tester.
2+
3+
{% for state in states %}
4+
{{ state.entity_id }}
5+
{%- endfor -%}

0 commit comments

Comments
 (0)