This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template: | |
- sensor: | |
- name: WakeUp Light Timestamp | |
device_class: timestamp | |
state: > | |
{% if is_state("binary_sensor.workday_sensor", "on") %} | |
{{ today_at(states('input_datetime.aufwachzeit_arbeitstag')) }} | |
{% elif is_state("binary_sensor.workday_sensor", "off") %} | |
{{ today_at(states('input_datetime.aufwachzeit_freizeit')) }} | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Head Style Preloading **/ | |
function style_preloading_preload_key_requests() { ?> | |
<link rel="preload" as="style" href="/wp-content/themes/navigation-pro/style.css" crossorigin="anonymous"> | |
<?php } | |
add_action( 'wp_head', 'style_preloading_preload_key_requests' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
module.exports = { | |
// S5-Max (https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/79#issuecomment-576246934) | |
gen1: [ | |
// 0% = Off | |
{ | |
homekitTopLevel: 1, | |
miLevel: 200, | |
name: "Off", |