mirror of https://github.com/arendst/Tasmota.git
Add languages for code blocks
parent
26d89a245e
commit
ad51412de9
|
@ -130,7 +130,7 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
|
|||
```
|
||||
### Tip: Make all Tasmota devices report their firmware version
|
||||
|
||||
```
|
||||
```yaml
|
||||
# Example automations.yaml entry
|
||||
- id: 'sonoff_firmware_installed'
|
||||
alias: Sonoff Firmware Installed
|
||||
|
@ -146,7 +146,7 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
|
|||
```
|
||||
Then you can make a sensor that detects the latest version of Tasmota and alerts you if there is an update.
|
||||
From my configuration.yaml
|
||||
```
|
||||
```yaml
|
||||
# Tasmota Firmware
|
||||
# Getting Firmware from JSON for Tasmota
|
||||
- platform: rest
|
||||
|
@ -179,7 +179,7 @@ binary_sensor:
|
|||
Note the above is for 2 switches.
|
||||
|
||||
In customize.yaml
|
||||
```
|
||||
```yaml
|
||||
binary_sensor.sonoff_update_available:
|
||||
friendly_name: Update Available Sonoff
|
||||
device_class: problem
|
||||
|
|
Loading…
Reference in New Issue