Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Lovelace #3

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Added Lovelace #3

wants to merge 15 commits into from

Conversation

MYLE-01
Copy link

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

Just added Lovelace

@MYLE-01
Copy link
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 

335iguy and others added 9 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.

5 participants