Skip to content

Instantly share code, notes, and snippets.

View VirtualL's full-sized avatar

Eliran Turgeman VirtualL

View GitHub Profile
#################################################################
# #
# Home - Weather Forecast Card #
# #
#################################################################
- type: custom:dark-sky-weather-card
entity_sun: sun.sun
entity_daily_summary: sensor.dark_sky_daily_summary
entity_current_conditions: sensor.dark_sky_icon
entity_humidity: sensor.dark_sky_humidity
- type: vertical-stack
cards:
- type: glance
title: מצב חבילות
entities:
- entity: sensor.packages_delivered
name: נשלחו
- entity: sensor.packages_in_transit
name: בדרך
- entity: sensor.packages_not_found
@VirtualL
VirtualL / vacuum_card
Created August 21, 2018 12:54
Hebrew Home Assistant Card for Xiaomi Vacuum Cleaner Based on https://sharethelove.io/picture-elements-cards/xiaomi-vacuum-card
########### More info at https://sharethelove.io/picture-elements-cards/xiaomi-vacuum-card
###########Change 'vacuum.xiaomi_vacuum' on the states for your robots name in the template sensors and elements!!!
########### ui-lovelace.yaml:
- type: picture-elements
image: /local/MyEntities/vacuum_card.jpg
elements:
- type: picture-elements
image: /local/MyEntities/vacuum_card.jpg
elements:
- type: icon
icon: mdi:camera-metering-spot
tap_action: call-service
entity: vacuum.xiaomi_vacuum
service: vacuum.clean_spot
style:
top: 80%
#######################################CURRENCIES Rates Via XML rate in Offical BANK OF ISRAEL#######################################
- platform: command_line
name: Exchange Date
command: "curl get https://www.boi.org.il/currency.xml?curr=27 2>&1 | grep LAST_UPDATE | grep -o '[0-9]*-[0-9]*-[0-9]*' "
scan_interval: 43200 #12 Hours
- platform: command_line
name: Dollar(USD)
command: "curl get https://www.boi.org.il/currency.xml?curr=01 2>&1 | grep RATE | grep -o '[0-9].*[0-9]' "
scan_interval: 43200 #12 Hours