Configuring command line sensor using yaml has moved, after Home Assistant 2023 update.
This gist is guiding you how to perform a quick fix.
configuration.yml:
binary_sensor: !include sensors.yaml
sensors.yml
// ==UserScript== | |
// @name Fuck Grayscale | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
/* | |
* Copyright (C) 2016 Icenowy Zheng <icenowy@aosc.xyz> | |
* | |
* Based on sun8i-h3-orangepi-one.dts, which is: | |
* Copyright (C) 2016 Hans de Goede <hdegoede@redhat.com> | |
* | |
* This file is dual-licensed: you can use it either under the terms | |
* of the GPL or the X11 license, at your option. Note that this dual | |
* licensing only applies to this file, and not this project as a | |
* whole. |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
internal class FuturedSocket : IDisposable | |
{ | |
/// <summary> | |
/// Inner socket |
keymaps 0-2,4-5,8,12 | |
altgr keycode 2 = F1 | |
altgr keycode 3 = F2 | |
altgr keycode 4 = F3 | |
altgr keycode 5 = F4 | |
altgr keycode 6 = F5 | |
altgr keycode 7 = F6 | |
altgr keycode 8 = F7 | |
altgr keycode 9 = F8 | |
altgr keycode 10 = F9 |
public class SandBox | |
{ | |
private ScriptState<object> _globalState; | |
public SandBox() | |
{ | |
// Create initial script | |
var script = CSharpScript.Create(string.Empty, ScriptOptions.Default); | |
{ | |
// Create an empty state |
/// <summary>
/// Run code
/// </summary>
/// <returns></returns>
public static async Task<MessageBuilder> OnRunPlainCode(MessageChain message)
{
var codeTemplate = @"
namespace DynamicCodeExecution {
public static class Runnable {
Here is an example that shows you how to create a wear tile use Xamarin.
AndroidX.Wear.Tiles
.Jar
in your solution, set Build Action to LibraryProjectZip
in the property.Jar
folder of your solution, set Build Action to EmbeddedReferenceJar
in the property.Xamarin.Google.Guava.ListenableFuture
NuGet package to this binding solution.Metadata.xml
. (I have fixed some bindings)