larry shows how cold it is outside
This commit is contained in:
parent
11fd08d37a
commit
7d2ad2558a
@ -728,6 +728,7 @@ light:
|
|||||||
restore_mode: ALWAYS_ON
|
restore_mode: ALWAYS_ON
|
||||||
default_transition_length: 50ms
|
default_transition_length: 50ms
|
||||||
|
|
||||||
|
# MARK: Sensors
|
||||||
sensor:
|
sensor:
|
||||||
- platform: aht10 # remove for no sensor version
|
- platform: aht10 # remove for no sensor version
|
||||||
i2c_id: bus_b
|
i2c_id: bus_b
|
||||||
@ -795,7 +796,7 @@ sensor:
|
|||||||
|
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
name: "HA Weather Temperature"
|
name: "HA Weather Temperature"
|
||||||
entity_id: weather.home
|
entity_id: weather.forecast_home
|
||||||
attribute: temperature
|
attribute: temperature
|
||||||
id: ha_weather_temp
|
id: ha_weather_temp
|
||||||
|
|
||||||
@ -877,7 +878,7 @@ text_sensor:
|
|||||||
|
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
name: "Weather Condition"
|
name: "Weather Condition"
|
||||||
entity_id: weather.home
|
entity_id: weather.forecast_home
|
||||||
attribute: condition
|
attribute: condition
|
||||||
id: ha_weather_condition
|
id: ha_weather_condition
|
||||||
|
|
||||||
@ -1987,9 +1988,9 @@ display:
|
|||||||
it.strftime(160, 88, id(my_font2), TextAlign::CENTER, "%l:%M%p", id(ha_time).now());
|
it.strftime(160, 88, id(my_font2), TextAlign::CENTER, "%l:%M%p", id(ha_time).now());
|
||||||
}
|
}
|
||||||
// Temperature from Home Assistant weather entity
|
// Temperature from Home Assistant weather entity
|
||||||
it.printf(240, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(ha_weather_temp).state);
|
it.printf(240, 161, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(ha_weather_temp).state);
|
||||||
// Weather condition (e.g. "partlycloudy", "sunny", etc.)
|
// Weather condition (e.g. "partlycloudy", "sunny", etc.)
|
||||||
it.printf(240, 220, id(my_font4), light_blue, TextAlign::CENTER, "%s", id(ha_weather_condition).state.c_str());
|
it.printf(240, 210, id(my_font4), light_blue, TextAlign::CENTER, "%s", id(ha_weather_condition).state.c_str());
|
||||||
// Device
|
// Device
|
||||||
it.printf(80, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(s3temp).state);
|
it.printf(80, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(s3temp).state);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user