mirror of
https://github.com/esphome/esphome.git
synced 2025-10-06 11:53:45 +01:00
Add output source priority "hybrid" (#7322)
This commit is contained in:
committed by
GitHub
parent
da72bae94a
commit
68272c39c0
@@ -136,6 +136,9 @@ void Pipsolar::loop() {
|
||||
if (this->output_source_priority_battery_switch_) {
|
||||
this->output_source_priority_battery_switch_->publish_state(value_output_source_priority_ == 2);
|
||||
}
|
||||
if (this->output_source_priority_hybrid_switch_) {
|
||||
this->output_source_priority_hybrid_switch_->publish_state(value_output_source_priority_ == 3);
|
||||
}
|
||||
if (this->charger_source_priority_) {
|
||||
this->charger_source_priority_->publish_state(value_charger_source_priority_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user