Moving forward, updates to this subflow will be found at the following repository: https://github.com/sstratoti/actionable-notifications-subflow-for-ios
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
/* | |
Demo strategy that shows each area as a tab. Each tab shows the area entities. | |
To use: | |
- store this file in `<config>/www/demo-strategy.js` | |
- Add lovelace resource: `/local/demo-strategy.js`, type JavaScript Module | |
- Create a new Lovelace dashboard and set as content: | |
strategy: | |
name: 'custom:balloob-demo' |
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
#!/usr/bin/env bash | |
# Refactored by: Patrick Huber (22phuber@gmail.com) | |
# Description: Digs the current external Ipv4 and compares it to a Ipv4 locally stored in a file. | |
# If the ips differ, aws cli is used to update a route 53 dns record with the new Ipv4. | |
# This script only supports Ipv4. | |
# Original script source: | |
# - https://willwarren.com/2014/07/03/roll-dynamic-dns-service-using-amazon-route53/ | |
# Dependencies: | |
# - awscli # install AWS cli: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html |
I decided to share this snippet based on seeing what others were doing in this thread: https://www.reddit.com/r/homeassistant/comments/emvk9y/how_do_you_monitor_sensor_battery_levels_looking/
Basically dome device types of battery report the state in different locations and with different string
values that the change node or conditional logic just doesn't work nicely. Using the conditional logic on
this string state value might not be working fully how we think it is or at least didn't for me. When I was
debugging it and getting 10
outputted in a 100
bucket via the gt condition. The best way I've found to
handle these conditions is with a function node.
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
<?php | |
/** | |
* [list_searcheable_acf list all the custom fields we want to include in our search query] | |
* @return [array] [list of custom fields] | |
*/ | |
function list_searcheable_acf(){ | |
$list_searcheable_acf = array("title", "sub_title", "excerpt_short", "excerpt_long", "xyz", "myACF"); | |
return $list_searcheable_acf; | |
} |
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
<?php | |
/* | |
Plugin Name: bbPress - Include Topics and Replies in WordPress Search Results | |
Plugin URI: https://gist.github.com/ntwb/7363a1de1184d459f0c3 | |
Description: bbPress - Include Topics and Replies in WordPress Search Results | |
Version: 0.1 | |
Author: Stephen Edgar - Netweb | |
Author URI: http://netweb.com.au | |
*/ |