You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Some additional examples
Added some additional examples that I am currently using in my implementation of this custom component.
* Forgot macro
* Added parsing of hacs files.
* Updated readme for new changes.
{%- if (state.entity_id in alexa_configuration.entities.included) or (state.entity_id not in alexa_configuration.entities.included and state.domain in alexa_configuration.domains) %}
139
+
{%- if state.domain not in data.domains %}
140
+
{%- set data.domains = data.domains + [state.domain] %}
141
+
{%- endif %}
142
+
{%- endif %}
143
+
{%- endfor %}
144
+
{%- for domain in data.domains %}
145
+
### {{ sentence_case(domain) }}
146
+
{%- if domain == 'climate' %}
147
+
Control a thermostat temperature, run mode, etc...
148
+
149
+
Climate Mode | Accepted words
150
+
-- | --
151
+
AUTO | "auto", "automatic"
152
+
COOL | "cool", "cooling"
153
+
HEAT | "heat", "heating"
154
+
ECO | "eco", "economical"
155
+
OFF | "off"
156
+
157
+
**What you say:**
158
+
159
+
_"Alexa, set thermostat to 70."_
160
+
_"Alexa, set the AC to 70."_
161
+
_"Alexa, make it warmer in here."_
162
+
_"Alexa, make it cooler in here."_
163
+
_"Alexa, set `DEVICE NAME` to `CLIMATE MODE`."_
164
+
_"Alexa, turn on the `CLIMATE MODE`."_
165
+
_"Alexa, turn off the `DEVICE NAME`."_
166
+
{% endif %}
167
+
**Device Names:**
168
+
{%- for state in states[domain] %}
169
+
{%- if (state.entity_id in alexa_configuration.entities.included) or (state.entity_id not in alexa_configuration.entities.included and state.domain in alexa_configuration.domains) %}
170
+
{%- if state.entity_id not in alexa_configuration.entities.excluded %}
171
+
- {{state.name}}
172
+
{%- endif %}
173
+
{%- endif %}
174
+
{%- endfor %}
175
+
{%- endfor %}
176
+
```
177
+
178
+
### Sensors
179
+
180
+
Create a long-lived access token in Home Assistant
0 commit comments