So to me it looks like a simple misnamed file. The Card js file is looking for the editor js file, but the file is named wrong. I’ve tried renaming locally, and I’ve tried to update the card.js to point to the correct new file name, but so far no go. I’ve tried clearing cache after both changes, restarting HA, etc. I’m sure it’s just a simple fix, just not sure how to force my changes to take effect.
EDIT: I’m at a loss on how to fix the file naming issue. I even made a custom files outside of HACS. Same as above edited the file, renamed the file. Just cannot figure out how to get it to look for the correct file.
@ptdalen reference to the editor JS has been fixed.
@bobloadmire Your Lovelace reference has the old file name
HACS is fully functional. Not sure how often HACS gets changes from the GitHub repository. I removed and readied the custom repository in HACS to see my readme.md changes.
Fully installed with working card when tested HACS installation method.
Well still no joy with Amazon and of course the last two days no USPS which never happens. I have a package that arrived today and got an email notice and one that is shipped but nothing. Will try the latest beta to see if that helps. Is anything wrong with my automation?
- alias: "Mail Notif - Mail Delieveries"
initial_state: 'on'
trigger:
- platform: state
entity_id: sensor.mail_usps_mail
- platform: state
entity_id: sensor.mail_usps_delivering
- platform: state
entity_id: sensor.mail_fexex_packages
- platform: state
entity_id: sensor.mail_ups_packages
- platform: state
entity_id: sensor.mail_amazon_packages
condition:
- condition: or
conditions:
- condition: template
value_template: "{{ ((as_timestamp(now()) - as_timestamp(states.sensor.mail_usps_mail.last_changed)) < 15 and sensor.mail_usps_mail > 0) }}"
- condition: template
value_template: "{{ ((as_timestamp(now()) - as_timestamp(states.sensor.mail_packages_in_transit.last_changed)) < 15 and sensor.mail_packages_in_transit > 0) }}"
- condition: template
value_template: "{{ ((as_timestamp(now()) - as_timestamp(states.sensor.mail_ups_packages.last_changed)) < 15 and sensor.mail_ups_packages > 0) }}"
- condition: template
value_template: "{{ ((as_timestamp(now()) - as_timestamp(states.sensor.mail_fedex_packages.last_changed)) < 15 and sensor.mail_fedex_packages > 0) }}"
- condition: template
value_template: "{{ ((as_timestamp(now()) - as_timestamp(states.sensor.mail_amazon_packages.last_changed)) < 15 and sensor.mail_amazon_packages > 0) }}"
#value_template: "{{ (as_timestamp(now()) - as_timestamp(states.sensor.mail_usps_delivering.last_changed)) < 15 }}"
action:
- service: notify.john_and_barb
data_template:
title: "*Today's Mail and Packages*"
message: "{{ states('sensor.mail_deliveries_message')}}"
- service: notify.john_and_barb
data:
message: "Here is the mail"
data:
document:
file: "/config/www/images/mail_and_packages/mail_today.gif"
1.what do we use for the delivery message sensor? nothing makes sense in the list.
2. What do we use for the gif location? i tried pointing it to the folder, and also pointing it to the gif file name directly. Neither work. Also won’t the gif file name change day to day anyway?
3. Camera sensor same issue, its not picking up the gif or mp4.
Thanks good catch. I updated this and restarted. Oddly it found a piece of mail coming this morning in my email I didn’t even notice but didn’t see the Amazon mail or skipped it. Have one email from Amazon yesterday that it shipped. Then one today that it was delivered. Counts in HA are still zero.