Get Volume
Control device system settings like volume, ringer mode, Bluetooth, and DND
Usage
yaml
# In your habit YAML
nodes:
- id: my-bit-system-settings-node
type: bit
framework: bits
module: "@ha-bits/bit-system-settings"
action: "getVolume"
data:
# action properties...Actions
| Action | Description |
|---|---|
| Get Volume | Get the current volume level for a stream |
| Set Volume | Set the volume level for a stream (Android only) |
| Mute | Mute an audio stream (Android only) |
| Unmute | Unmute an audio stream (Android only) |
| Get Ringer Mode | Get the current ringer mode |
| Set Ringer Mode | Set the ringer mode (Android only) |
| Set Silent Mode | Enable silent mode (no sound or vibration) |
| Set Vibrate Mode | Enable vibrate mode (vibration only) |
| Set Normal Mode | Enable normal ringer mode (sounds enabled) |
| Get Bluetooth State | Get the current Bluetooth state |
| Enable Bluetooth | Enable Bluetooth (opens settings on newer Android/iOS) |
| Disable Bluetooth | Disable Bluetooth (opens settings on newer Android/iOS) |
| Get Do Not Disturb State | Get the current Do Not Disturb state (Android only) |
| Enable Do Not Disturb | Enable Do Not Disturb mode (Android only) |
| Disable Do Not Disturb | Disable Do Not Disturb mode (Android only) |
| Set Focus Mode | Enable focus mode (mute media, enable DND, set vibrate) |
| Clear Focus Mode | Disable focus mode (unmute, disable DND, set normal) |
