To actually display the floorplan custom state card in the front end, add the virtual entity to one of your groups: group: Then, add the following to get Home Assistant to display this new virtual entity using the floorplan custom state card: homeassistant:Ĭustom_ui_state_card: state-card-floorplan Add the following to your Home Assistant configuration: binary_sensor: You can choose any type of entity for this, such as the MQTT binary sensor. Since Home Assistant requires a single entity to be used as the target for a state card, create a virtual entity to represent the overall floorplan. local/custom_ui/state-card-floorplan.html To allow the above file to be served by Home Assistant, add it to the frontend section of your Home Assistant configuration: frontend: To display the floorplan as a custom state card, copy the following file from this repo to your Home Assistant directory: www/custom_ui/state-card-floorplan.html different levels of a house), that is supported too. If you have several floorplans to display (i.e. Of course, you can choose to have it displayed in both places. You then have two options for how you want to the floorplan to appear in Home Assistant: To get started, copy the following files from this repo to your Home Assistant directory: See the appendix for more information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |