# Generated ha-floorplan card for this sheet. Copy dist/ha/floorplan/ to /config/www/floorplan/. # Syntax follows the ha-floorplan 1.x docs as recalled, NOT checked against your installed version. # Rules come from model/devices.yaml (installed devices with ha.entity_id). type: custom:floorplan-card full_height: true config: image: /local/floorplan/G.svg stylesheet: /local/floorplan/floorplan.css rules: - entity: sensor.ev_charger_power # DEV-EVSE: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: light.living_room # G-LIVING-LT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: sensor.living_room_temperature element: living_room # G-LIVING-TH1: tint Living room by temperature state_action: action: call-service service: floorplan.class_set service_data: '${isNaN(parseFloat(entity.state)) ? ''temp-unknown'' : entity.state >= 26 ? ''temp-hot'' : entity.state <= 16 ? ''temp-cold'' : ''temp-ok''}' - entity: light.hall # G-HALL-LT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: binary_sensor.smoke_hall # G-HALL-SA1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: sensor.hall_temperature element: hall # G-HALL-TH1: tint Hall by temperature state_action: action: call-service service: floorplan.class_set service_data: '${isNaN(parseFloat(entity.state)) ? ''temp-unknown'' : entity.state >= 26 ? ''temp-hot'' : entity.state <= 16 ? ''temp-cold'' : ''temp-ok''}' - entity: climate.ducted # G-HALL-TS1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: binary_sensor.front_door # G-HALL-CT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: lock.front_door # G-HALL-LOCK1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: sensor.study_temperature element: study # G-STUDY-TH1: tint Study by temperature state_action: action: call-service service: floorplan.class_set service_data: '${isNaN(parseFloat(entity.state)) ? ''temp-unknown'' : entity.state >= 26 ? ''temp-hot'' : entity.state <= 16 ? ''temp-cold'' : ''temp-ok''}' - entity: sensor.washing_machine_power # G-LDRY2-WM1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: binary_sensor.laundry_leak # G-LDRY2-LK1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: light.family_room # G-FAMILY-LT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: fan.family_room # G-FAMILY-FAN1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: sensor.family_room_temperature element: family_room # G-FAMILY-TH1: tint Family room by temperature state_action: action: call-service service: floorplan.class_set service_data: '${isNaN(parseFloat(entity.state)) ? ''temp-unknown'' : entity.state >= 26 ? ''temp-hot'' : entity.state <= 16 ? ''temp-cold'' : ''temp-ok''}' - entity: binary_sensor.garden_sliders # G-FAMILY-CT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: binary_sensor.family_room_motion # G-FAMILY-MOT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: light.kitchen # G-KITCHEN2-LT1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: light.kitchen_island # G-KITCHEN2-LT3: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: binary_sensor.kitchen_leak # G-KITCHEN2-LK1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: camera.front # G-PORCH-CAM1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info - entity: camera.carport # G-CARPORT-CAM1: drawn on the sheet state_action: action: call-service service: floorplan.class_set service_data: state-${entity.state} tap_action: more-info