Untitled
unknown
plain_text
2 years ago
2.3 kB
429
Indexable
type: custom:stack-in-card cards: - type: custom:stack-in-card cards: - type: markdown content: |- <center><b><font size=6> {% if is_state('device_tracker.my_phone', 'home') %} Adam is home. {% else %} Adam is not home. {% endif %} </font></b> {% if is_state('switch.ac', 'on') %} The air conditioning is turned on. {% else %} The air conditioning is turned off. {% endif %} The weather is {{ states('weather.forecast_home') }} and {{ state_attr('weather.forecast_home', 'temperature') }}°C </center> card_mod: style: | ha-card {background: transparent; border-style: none; } - square: false columns: 2 type: grid cards: - type: custom:mushroom-light-card entity: light.loft_lights use_light_color: true show_brightness_control: true card_mod: style: | ha-card {background: transparent; border-style: none; } - square: false columns: 1 type: grid cards: - type: custom:mushroom-entity-card entity: switch.washing_machine card_mod: style: | ha-card {background: transparent; border-style: none; } - type: custom:mushroom-entity-card entity: switch.tumble_dryer card_mod: style: | ha-card {background: transparent; border-style: none; } - type: custom:mini-graph-card entities: - sensor.gpu_temp_temperature line_color: blue card_mod: style: | ha-card {background: transparent; border-style: none; } card_mod: style: | ha-card { background-image: url("/local/pictures/livingroom.jpg"); background-size: cover; }
Editor is loading...