Skip to content

Added Lovelace#3

Open
MYLE-01 wants to merge 16 commits intojorgerance:masterfrom
lance36:master
Open

Added Lovelace#3
MYLE-01 wants to merge 16 commits intojorgerance:masterfrom
lance36:master

Conversation

@MYLE-01
Copy link
Copy Markdown

@MYLE-01 MYLE-01 commented Nov 30, 2018

Just added Lovelace

@MYLE-01
Copy link
Copy Markdown
Author

MYLE-01 commented Nov 30, 2018

 - type: custom:card-modder
   card:
     type: entities
     title: Cat Feeder
     # show_header_toggle: false
     entities:
       - type: custom:fold-entity-row
         head: script.feed_the_cat
         icon: mdi:paw
         items:
           - automation.feed_my_cats_0730
           - automation.feed_my_cats_1930
           
       - entity: sensor.cat_feed_remaining
         icon: mdi:bowl
       - entity: sensor.cats_fed
         icon: mdi:cat
         secondary_info: last-changed 

Andrew W and others added 10 commits December 22, 2018 13:26
Import NTPClient from here https://github.com/arduino-libraries/NTPClient
to use timeClient.getFormattedDate()
Last Will and Testament (LWT) notifies the MQTT broker that the device is online.  If the device goes offline, the broker will detect that the device is unavailable (after a timeout period) and show that the device is offline.

When a device in Home Assistant is configured with an availability_topic, the device's status will be shown as unavailable if the device goes offline.

I did not add the availability_topic to the 'cats last fed mqtt' topic so it's status will not be affected if the device goes offline.  The 'catfeeder remaining' sensor can be used as a trigger to get a notification that the feeder is offline.
Added Last Will and Testament to sketch and Home Assistant sample config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants