Remove bytes from Tasmota specific

This commit is contained in:
s-hadinger 2025-07-17 09:40:42 +02:00 committed by GitHub
parent 57c7033987
commit 1fbe52df06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -497,19 +497,6 @@ end
5. **Performance**: Use fast_loop sparingly, prefer regular driver events 5. **Performance**: Use fast_loop sparingly, prefer regular driver events
6. **Debugging**: Enable `#define USE_BERRY_DEBUG` for development 6. **Debugging**: Enable `#define USE_BERRY_DEBUG` for development
### Tasmota Extensions to Standard Modules
#### `bytes` class extensions
```berry
b = bytes("1122AA") # From hex string
b = bytes(-8) # Fixed size buffer
b.tohex() # To hex string
b.tob64() # To base64
b.fromhex("AABBCC") # Load from hex
b.fromb64("SGVsbG8=") # Load from base64
b.asstring() # To raw string
```
## Common Tasmota Berry Patterns ## Common Tasmota Berry Patterns
### Simple Sensor Driver ### Simple Sensor Driver