This is a unique String ID assigned to this tile and is used (by you) to identify what tile sent what data by your script.
Note that this is case sensitive, and cannot contain any white space.
This modifies the size of the button as it appears on your screen. Its units of measurement is tiles. Since each tile that can have its size modified is aware of its surroundings, the numeric steppers used to adjust the tile size will stop you from overlapping with other tiles or going over the edge of the screen.
Here you can set the type of data that should be reflected on the progress bar. Either a Percentage 0 → 100 or a Decimal 0.0 → 1.0.
You can set the value of the progress bar by sending a integer or a float.
Integer → 0 → 100 → Set progress.
Float → 0.0 → 1.0 → Set progress.
Set the switch to the ON state.
def updateBatteryPowerLeft(self, batteryPowerLeft): self.force.sendMessage("Jordan's iPhone", "BatteryBar", batteryPowerLeft)